fastruby / fastruby/fast-ruby

Update all examples and results for fast comes first

Aperta
#27 1 commento 0 reazioni 2 assegnatari Rivendicata da @mateusdeap Vedi su GitHub
Lingua principale
Ruby
Stelle
5.7k
Fork
371
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.