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: 48,746 of 197,051
Downloads: 25,187

Daily

Ranking: 4,550 of 197,010
Downloads: 1,054

Depended by

RankDownloadsName

Depends on

RankDownloadsName
62889,574,465benchmark-ips

Owners

#GravatarHandle
1iconmeinac
2icongitlab_rubygems