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: 31,084 of 197,744
Downloads: 46,681

Daily

Ranking: 3,958 of 197,724
Downloads: 1,872

Depended by

RankDownloadsName

Depends on

RankDownloadsName
62990,281,974benchmark-ips

Owners

#GravatarHandle
1iconmeinac
2icongitlab_rubygems