fastruby / fastruby/fast-ruby

Update all examples and results for fast comes first

Đang mở
#27 1 bình luận 0 reaction 2 người được giao Được @mateusdeap nhận Xem trên GitHub
Ngôn ngữ chính
Ruby
Star
5.7k
Fork
371
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.