fastruby / fastruby/fast-ruby

Update all examples and results for fast comes first

Open
#27 1 comment 0 reactions 2 assignees Claimed by @mateusdeap View on GitHub
Dominant language
Ruby
Stars
5.7k
Forks
371
PR merge metrics
No merged PRs in 30d

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 :point_up_2: :point_up_2: :point_up_2:

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.