Skip to content

Conversation

@dukaev
Copy link

@dukaev dukaev commented Feb 13, 2019

require "benchmark/ips"

def fast
end

def slow
end

Benchmark.ips do |x|
  x.report("fast code description") { fast }
  x.report("slow code description") { slow }
  x.compare!
end
@dukaev dukaev changed the title Did refactoring by template Refactoring by template Feb 13, 2019
Copy link
Member

@mateusdeap mateusdeap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dukaev I don't know if you're already on this, but I believe that if you just add Ashwini's suggestions to your PR, in the issue this solves, we can merge it.

Thanks for the good work!

@mateusdeap
Copy link
Member

If not, that's fine. Just let me know and I can take it over.

@dukaev
Copy link
Author

dukaev commented Oct 15, 2022

@mateusdeap great. In a few days I will do this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants