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: 47,998 of 197,085
Downloads: 25,797

Daily

Ranking: 6,582 of 197,066
Downloads: 189

Depended by

RankDownloadsName

Depends on

RankDownloadsName
62889,607,644benchmark-ips

Owners

#GravatarHandle
1iconmeinac
2icongitlab_rubygems