Created
May 12, 2015 09:29
-
-
Save bernardo-cs/786a49170406476fbfb5 to your computer and use it in GitHub Desktop.
Running spec/models/fb_pst_reg_spec.rb without before all improves test velocity on 50% and tests are still passing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/ebench/Ishango2 feat/37-improve-test-suite ✗ | |
▶ rspec spec/models/fb_pst_reg_spec.rb -p | |
........ | |
Top 8 slowest examples (27.32 seconds, 100.0% of total time): | |
FbPstReg update some fb post regs | |
4.95 seconds ./spec/models/fb_pst_reg_spec.rb:22 | |
FbPstReg should update imp factor by licosh | |
4.49 seconds ./spec/models/fb_pst_reg_spec.rb:72 | |
FbPstReg create some fb post regs | |
4.3 seconds ./spec/models/fb_pst_reg_spec.rb:40 | |
FbPstReg should set big girp | |
4.26 seconds ./spec/models/fb_pst_reg_spec.rb:64 | |
FbPstReg should calculated correct grip value when grip is nil | |
4.15 seconds ./spec/models/fb_pst_reg_spec.rb:54 | |
FbPstReg scraping posts for child reg | |
4.03 seconds ./spec/models/fb_pst_reg_spec.rb:35 | |
FbPstReg should scrape by end_point | |
0.58545 seconds ./spec/models/fb_pst_reg_spec.rb:45 | |
FbPstReg should migrate_page | |
0.5556 seconds ./spec/models/fb_pst_reg_spec.rb:83 | |
Finished in 27.34 seconds (files took 1.29 seconds to load) | |
8 examples, 0 failures | |
src/ebench/Ishango2 feat/37-improve-test-suite ✗ | |
▶ rspec spec/models/fb_pst_reg_spec.rb -p | |
........ | |
Top 8 slowest examples (37.8 seconds, 92.4% of total time): | |
FbPstReg update some fb post regs | |
6.18 seconds ./spec/models/fb_pst_reg_spec.rb:22 | |
FbPstReg should set big girp | |
5.81 seconds ./spec/models/fb_pst_reg_spec.rb:64 | |
FbPstReg should update imp factor by licosh | |
5.73 seconds ./spec/models/fb_pst_reg_spec.rb:72 | |
FbPstReg should calculated correct grip value when grip is nil | |
5.55 seconds ./spec/models/fb_pst_reg_spec.rb:54 | |
FbPstReg create some fb post regs | |
5.41 seconds ./spec/models/fb_pst_reg_spec.rb:40 | |
FbPstReg scraping posts for child reg | |
5.36 seconds ./spec/models/fb_pst_reg_spec.rb:35 | |
FbPstReg should scrape by end_point | |
1.99 seconds ./spec/models/fb_pst_reg_spec.rb:45 | |
FbPstReg should migrate_page | |
1.78 seconds ./spec/models/fb_pst_reg_spec.rb:83 | |
Finished in 40.92 seconds (files took 1.3 seconds to load) | |
8 examples, 0 failures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment