Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all examples and results for fast comes first #27

Open
JuanitoFatas opened this issue Feb 26, 2015 · 1 comment
Open

Update all examples and results for fast comes first #27

JuanitoFatas opened this issue Feb 26, 2015 · 1 comment
Assignees

Comments

@JuanitoFatas
Copy link
Contributor

Update template:

require 'benchmark/ips'

def fast
end

def slow
end

Benchmark.ips do |x|
  x.report('fast') { fast }
  x.report('slow') { slow }
  x.compare!
end

and reorganize all stuff according to 👆 👆 👆

Since x.compare! will show fast then slow, this may have a better reading experience when reading README IMO. Also document in CONTRIBUTING.md to give people notice when submits a new entry.

@JuanitoFatas JuanitoFatas self-assigned this Feb 26, 2015
@mateusdeap
Copy link
Member

I'll be taking this

@mateusdeap mateusdeap self-assigned this Sep 27, 2022
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

No branches or pull requests

2 participants