This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 49
49
# virtually no penalty
50
50
#
51
51
# ###################################
52
+
53
+ __END__
54
+
55
+ Ruby 2.0:
56
+
57
+ ➜ rspec-core git:(benchmark-require-relative) REQUIRE_RELATIVE=1 bundle exec ruby benchmarks/require_relative_v_require.rb
58
+ 0.000000 0.030000 1.470000 ( 1.481949)
59
+ 0.000000 0.020000 1.440000 ( 1.462620)
60
+ 0.000000 0.020000 1.470000 ( 1.491825)
61
+ ➜ rspec-core git:(benchmark-require-relative) bundle exec ruby benchmarks/require_relative_v_require.rb
62
+ 0.000000 0.010000 1.510000 ( 1.549906)
63
+ 0.000000 0.010000 1.530000 ( 1.546252)
64
+ 0.000000 0.020000 1.510000 ( 1.531644)
65
+
66
+ Ruby 2.1:
67
+
68
+ ➜ rspec-core git:(benchmark-require-relative) bundle exec ruby benchmarks/require_relative_v_require.rb
69
+ 0.000000 0.020000 1.570000 ( 1.613217)
70
+ 0.000000 0.020000 1.600000 ( 1.618540)
71
+ 0.010000 0.020000 1.570000 ( 1.608205)
72
+ ➜ rspec-core git:(benchmark-require-relative) REQUIRE_RELATIVE=1 bundle exec ruby benchmarks/require_relative_v_require.rb
73
+ 0.000000 0.020000 1.480000 ( 1.515131)
74
+ 0.000000 0.010000 1.480000 ( 1.527766)
75
+ 0.000000 0.020000 1.490000 ( 1.515631)
You can’t perform that action at this time.
0 commit comments