Improve the speed of specs & features
-
baphled@boodah.net
- Milestone set to 0.8.0
-
baphled@boodah.net
- State changed from new to open
We'll first stub out the retrieval of feature file and limit it 2 a couple to start with.
-
baphled@boodah.net
Refactored specs to speed up the tests.
-
baphled@boodah.net
Made further improvements to /projects/import & projects spec.
-
baphled@boodah.net
Need to look at features/plain/import_a_single_feature.feature
-
baphled@boodah.net
Features now running at
Cucumber plain
208 scenarios (208 passed) 1178 steps (1178 passed) 4m57.927sRspec
on a 1200MHz Intel(R) Core(TM)2 Duo CPUFinished in 40.55213 seconds
288 examples, 0 failuresFeature could do with speeding up some more
-
baphled@boodah.net
Added is a copy of the rspec profile, displaying the slowest specs on the above box, we'll focus on improving these tests next.
-
baphled@boodah.net
RSpec
CucumberFinished in 48.084478 seconds
287 examples, 0 failures
208 scenarios (208 passed) 1178 steps (1178 passed) 3m50.018sOn
Processor Name: Intel Core 2 Duo Processor Speed: 2 GHz Number Of Processors: 1 -
baphled@boodah.net
- Milestone cleared.
Im sure these features could be improved some what more but this is a bigger improvement from the speed we were getting initially.
-
baphled@boodah.net
Will move to another milestone.
-
baphled@boodah.net
- Milestone set to 0.8.2
- Milestone order changed from 0 to 0
-
baphled@boodah.net
Selenium
159 scenarios (29 undefined, 130 passed) 937 steps (8 skipped, 46 undefined, 883 passed) 4m4.395sCucumber
26 scenarios (26 passed) 132 steps (132 passed) 3m37.560sOn
Processor Name: Intel Core 2 Duo Processor Speed: 2 GHz Number Of Processors: 1 -
baphled@boodah.net
- Milestone order changed from 6 to 0
Rspec
Finished in 147.4069 seconds
361 examples, 0 failures, 8 pendingCucumber
259 scenarios (259 passed) 1247 steps (1247 passed) 20m44.310sOn
Dual core vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz stepping : 13 cpu MHz : 1200.000 cache size : 2048 KB -
baphled@boodah.net
- Milestone cleared.
- Milestone order changed from 5 to 0
-
baphled@boodah.net
As a temporary measure we can stub out or feature sync and import based specs. This should go along way to improving the overall speed of our specs.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
