Skip to content

Commit 1e40b7d

Browse files
Shuhei Kitagawashishirmk
authored andcommitted
Remove redundant GC.disable and GC.enable
1 parent 93391af commit 1e40b7d

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

spec/lib/object_serializer_performance_spec.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@
3333
}
3434
}
3535

36-
before(:all) { GC.disable }
37-
after(:all) { GC.enable }
38-
3936
context 'when testing performance of serialization' do
4037
it 'should create a hash of 1000 records in less than 50 ms' do
4138
movies = 1000.times.map { |_i| movie }

0 commit comments

Comments
 (0)