Skip to content

Instantly share code, notes, and snippets.

@OMantere
Created June 29, 2017 21:35
Show Gist options
  • Save OMantere/2bf16ce2e1fdd5aa60b8aa3d9fa9939f to your computer and use it in GitHub Desktop.
Save OMantere/2bf16ce2e1fdd5aa60b8aa3d9fa9939f to your computer and use it in GitHub Desktop.
Top 10 slowest examples (217.73 seconds, 47.0% of total time):
Plates API requests api v1 GET /plates/:plate_id/runs/:run_id/protocol in json format returns successfully
54.92 seconds ./spec/requests/api/v1/plates/plates_spec.rb:176
Plates API requests api v1 GET /plates/:plate_id/runs/:run_id/protocol in Echo format returns successfully
49.58 seconds ./spec/requests/api/v1/plates/plates_spec.rb:184
Plates API requests api v1 POST /plates/:plate_id/missed-transfers adds missed transfer information successfully
45.32 seconds ./spec/requests/api/v1/plates/plates_spec.rb:300
Screen#generate_screen_results correctly generates screen results
16.02 seconds ./spec/models/screen_spec.rb:656
Screen#generate_compound_addition_runs a standard setup with wells deactivated places 3 replicates of a non-control combination
9.03 seconds ./spec/models/screen_spec.rb:520
Screen#generate_compound_addition_runs a standard setup places 3 replicates of a non-control combination
8.71 seconds ./spec/models/screen_spec.rb:560
Screen#generate_compound_addition_runs a setup with backup wells on the source plate generates 2 runs
8.59 seconds ./spec/models/screen_spec.rb:614
Screen#generate_compound_addition_runs a setup with backup wells on the source plate switches to the backup well on the source plate
8.57 seconds ./spec/models/screen_spec.rb:617
Screen#generate_compound_addition_runs a standard setup with wells deactivated generates 2 runs
8.52 seconds ./spec/models/screen_spec.rb:517
Screen#generate_compound_addition_runs a standard setup generates 2 runs
8.47 seconds ./spec/models/screen_spec.rb:557
Top 10 slowest example groups:
Plates API requests
6.93 seconds average (159.45 seconds / 23 examples) ./spec/requests/api/v1/plates/plates_spec.rb:4
CompoundAdditionRun
3.76 seconds average (18.81 seconds / 5 examples) ./spec/models/compound_addition_run_spec.rb:26
Screen
2.4 seconds average (110.49 seconds / 46 examples) ./spec/models/screen_spec.rb:57
BiomekRun API requests
1.57 seconds average (14.17 seconds / 9 examples) ./spec/requests/api/v1/biomek_runs/biomek_runs_spec.rb:4
Run
0.95573 seconds average (1.91 seconds / 2 examples) ./spec/models/run_spec.rb:26
Locations API requests
0.90807 seconds average (29.97 seconds / 33 examples) ./spec/requests/api/v1/locations/locations_spec.rb:4
TubeRack
0.78869 seconds average (1.58 seconds / 2 examples) ./spec/models/tube_rack_spec.rb:3
AssignScreenCombinationsToWells
0.73149 seconds average (5.85 seconds / 8 examples) ./spec/services/assign_screen_combinations_to_wells_spec.rb:70
Location
0.66989 seconds average (16.75 seconds / 25 examples) ./spec/models/location_spec.rb:20
CellPlate
0.4592 seconds average (4.13 seconds / 9 examples) ./spec/models/cell_plate_spec.rb:25
Top 10 slowest examples (74.94 seconds, 25.4% of total time):
Plates API requests api v1 POST /plates/:plate_id/missed-transfers adds missed transfer information successfully
21.14 seconds ./spec/requests/api/v1/plates/plates_spec.rb:300
Screen#generate_screen_results correctly generates screen results
12.44 seconds ./spec/models/screen_spec.rb:604
Screen#copy_from_screen with existing plates on the destination screen modifies the existing cell plates
7.75 seconds ./spec/models/screen_spec.rb:222
Screen#copy_from_screen without existing plates on the destination screen creates new cell plates
6.78 seconds ./spec/models/screen_spec.rb:201
Screen#copy_from_screen with the state machines past selecting compounds/staining panels resets the state machines
6.73 seconds ./spec/models/screen_spec.rb:187
BiomekRun API requests api v1 GET /liquid-handler-runs returns successfully with correct number of results
5.7 seconds ./spec/requests/api/v1/biomek_runs/biomek_runs_spec.rb:55
Screens API requests api v1 POST /screens/:id/copy-from-screen copies the screen
3.92 seconds ./spec/requests/api/v1/screens/screens_spec.rb:163
Plates API requests api v1 POST /plates/:plate_id/copy creates a clone of the plate successfully
3.91 seconds ./spec/requests/api/v1/plates/plates_spec.rb:326
Screen#all_readout_results_saved? all readouts scores saved returns true
3.32 seconds ./spec/models/screen_spec.rb:310
Locations API requests v1 POST /v1/locations/:id/add-freeze-thaw full rack of containers, 20 of which have solutions correctly increments only 6 samples when specifying 3 container ids
3.26 seconds ./spec/requests/api/v1/locations/locations_spec.rb:286
Top 10 slowest example groups:
CompoundAdditionRun
1.98 seconds average (9.88 seconds / 5 examples) ./spec/models/compound_addition_run_spec.rb:26
BiomekRun API requests
1.67 seconds average (15.03 seconds / 9 examples) ./spec/requests/api/v1/biomek_runs/biomek_runs_spec.rb:4
Plates API requests
1.56 seconds average (35.9 seconds / 23 examples) ./spec/requests/api/v1/plates/plates_spec.rb:4
Screen
1.47 seconds average (64.89 seconds / 44 examples) ./spec/models/screen_spec.rb:57
Run
1.47 seconds average (2.94 seconds / 2 examples) ./spec/models/run_spec.rb:26
Locations API requests
0.86588 seconds average (28.57 seconds / 33 examples) ./spec/requests/api/v1/locations/locations_spec.rb:4
TubeRack
0.80063 seconds average (1.6 seconds / 2 examples) ./spec/models/tube_rack_spec.rb:3
Location
0.79563 seconds average (19.89 seconds / 25 examples) ./spec/models/location_spec.rb:20
Access Tokens
0.58387 seconds average (0.58387 seconds / 1 example) ./spec/requests/api/access_tokens_spec.rb:3
CellPlate
0.54547 seconds average (4.91 seconds / 9 examples) ./spec/models/cell_plate_spec.rb:25
Finished in 4 minutes 55 seconds (files took 4.95 seconds to load)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment