Remove redundant GC.disable and GC.enable
This commit is contained in:
parent
93391aff6a
commit
1e40b7d2f7
@ -33,9 +33,6 @@ describe FastJsonapi::ObjectSerializer, performance: true do
|
||||
}
|
||||
}
|
||||
|
||||
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 }
|
||||
|
Loading…
x
Reference in New Issue
Block a user