Merge pull request #20 from Netflix/dev

revert speed factor change, instead plan for intermittent speed variance
This commit is contained in:
Srinivas R 2018-02-01 12:34:29 -08:00 committed by GitHub
commit bdc24201be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ describe FastJsonapi::ObjectSerializer do
context 'when comparing with AMS 0.10.x' do
[1, 25, 250, 1000].each do |movie_count|
speed_factor = 20
speed_factor = 25
it "should serialize #{movie_count} records atleast #{speed_factor} times faster than AMS" do
ams_movies = build_ams_movies(movie_count)
movies = build_movies(movie_count)
@ -63,7 +63,7 @@ describe FastJsonapi::ObjectSerializer do
context 'when comparing with AMS 0.10.x and with includes and meta' do
[1, 25, 250, 1000].each do |movie_count|
speed_factor = 20
speed_factor = 25
it "should serialize #{movie_count} records atleast #{speed_factor} times faster than AMS" do
ams_movies = build_ams_movies(movie_count)
movies = build_movies(movie_count)