Skip to content

Commit

Permalink
add more specs
Browse files Browse the repository at this point in the history
  • Loading branch information
sebyx07 committed Aug 10, 2024
1 parent 913ae7f commit 5ca9d1e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/iterators/immutable/array/each_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Array

it 'benchmarks native implementation against original' do
array = (1..1_000_000).to_a
iterations = 10
iterations = 100

puts "Benchmark results (average over #{iterations} iterations):"
Benchmark.bm(20) do |x|
Expand Down
2 changes: 1 addition & 1 deletion spec/iterators/immutable/array/each_with_index_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Array

it 'benchmarks native implementation against original' do
array = (1..1_000_000).to_a
iterations = 10
iterations = 100

puts "Benchmark results (average over #{iterations} iterations):"
Benchmark.bm(25) do |x|
Expand Down
2 changes: 1 addition & 1 deletion spec/iterators/mutable/array/each_with_index_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Array

it 'benchmarks native implementation against original' do
array = (1..1_000_000).to_a
iterations = 10
iterations = 100

puts "Benchmark results (average over #{iterations} iterations):"
Benchmark.bm(25) do |x|
Expand Down

0 comments on commit 5ca9d1e

Please sign in to comment.