Categories: None [Edit]

benchmark-swap

https://rubygems.org/gems/benchmark-swap
https://github.com/meinac/benchmark-swap
Write your alternative implementation next to the original one, with a _perf suffix on the name. Benchmark.swap runs your block twice, once with the original methods and once with the suffixed twins in their place, and compares the two. No need to lift the method out of its call chain first.

Total

Ranking: 132,848 of 196,721
Downloads: 5,019

Daily

Ranking: 4,669 of 196,694
Downloads: 598

Depended by

RankDownloadsName

Depends on

RankDownloadsName
63388,957,249benchmark-ips

Owners

#GravatarHandle
1iconmeinac
2icongitlab_rubygems