Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 840ffe3

Browse files
committed
Wip add comment to explain why we added the benchmark
WIP because, we have to gather benchmark output from the CI
1 parent ee8e541 commit 840ffe3

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

benchmarks/symbol_to_proc_vs_block.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# We have not decided how we are going to handle the symbol to proc vs
2+
# block implementations. This is because the block is faster on JRuby
3+
# but slower on Ruby 1.9.2 through 2.2.2.
4+
15
require 'benchmark'
26

37
RANGE = (1..100)

script/run_build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ fi
2020

2121
fold "cukes" run_cukes
2222

23+
# To remove after benchmark measurement
24+
ruby benchmarks/symbol_to_proc_vs_block.rb
25+
2326
if documentation_enforced; then
2427
fold "doc check" check_documentation_coverage
2528
fi

0 commit comments

Comments
 (0)