fastruby / fastruby/fast-ruby

Update all examples and results for fast comes first

オープン
#27 コメント 1 件 リアクション 0 件 担当者 2 名 @mateusdeap が担当を希望しています GitHub で見る
主要言語
Ruby
スター
5.7k
フォーク
371
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。