Skip to content

Commit

Permalink
Remove redundant GC.disable and GC.enable
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuhei Kitagawa authored and shishirmk committed Mar 13, 2018
1 parent 93391af commit 1e40b7d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions spec/lib/object_serializer_performance_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
}
}

before(:all) { GC.disable }
after(:all) { GC.enable }

context 'when testing performance of serialization' do
it 'should create a hash of 1000 records in less than 50 ms' do
movies = 1000.times.map { |_i| movie }
Expand Down

0 comments on commit 1e40b7d

Please sign in to comment.