Update all examples and results for fast comes first

Open
#27 1 comment 0 reactions 2 assignees View on GitHub

@mateusdeap is already working on this.

Since Sep 27, 2022.

Assessment

This issue has not been assessed yet.

Description

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.

Dominant language
Ruby
Stars
5.7k
Forks
370
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fastruby/fast-ruby

All issues in fastruby/fast-ruby

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.