Categories: None [Edit]
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
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 628 | 89,607,644 | benchmark-ips |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | meinac | |
| 2 | gitlab_rubygems |