Knapsack Pro / rails-app-with-knapsack_pro / RSpec - Queue Mode - CodeFresh.io Public

Back to CI builds

Build details ID f4a06123-078d-4bca-b3ea-4950f1864ed3

You find here details about tests recorded for below git commit hash across 2 parallel CI nodes for github-actions-caching branch.

Commit hash Branch Node total Updated at Created at
a326deea27d7cb7e9a935a0061306ee1205faa79 github-actions-caching 2 2020-01-17 16:36:58 UTC 2020-01-17 16:36:58 UTC

Newest Build Subsets parallel CI nodes

Here you can check if all parallel CI nodes recorded tests timing data.

When you re-run CI build or run a new CI build for the same commit & branch & node total number, then the data below will be updated.

Collected Build Subsets 2 out of 2.

All CI nodes sent time execution data to Knapsack Pro API. Everything works!

The time gap between the finish times of the CI node that Finished First and the one which Finished Last is 0.129 seconds

Loading...
Node Index Created At Time execution
0 Finished First 2020-01-17 16:36:58 UTC 10.008 seconds
1 Finished Last 2020-01-17 16:36:58 UTC 7.435 seconds

Newest Build Distribution can be used for future CI build split

Build Distribution ID is the ID for the test suite split. You can see this ID in knapsack_pro logs as a test suite split seed.
Total time execution is sum of tests' execution times recorded across all parallel CI nodes.
Node max time execution is an estimated average time of running tests per CI node.
Distance is a time gap between average CI node time execution and the slowest CI node. The lower the better.

Build Distribution ID Node total Total time execution Node max time execution Distance
12f28342-0508-4e16-9c5f-da2e9543468e 2 17.442 seconds 8.721 seconds 4.559 seconds

The slowest test files for the Build Distribution

The slow test files are highlighted in yellow below.

Test files with higher time execution than 8.721 seconds are bottleneck because they take more time than expected execution time per parallel CI node.


You can enable auto split of slow RSpec test files by test examples on parallel CI nodes to run faster CI builds.

The more parallel CI nodes you use, the more test files will be split by test examples.

We recommend running at least 2 CI builds after you increase the number of parallel CI nodes. This way Knapsack Pro API can learn about your test examples defined in the slow test files to split tests better in future CI builds.

Test file path (21 files) Time execution
spec/foo_spec.rb 10.008 seconds
spec/slow_shared_examples_spec.rb 3.604 seconds
spec/time_helpers_spec.rb 3.008 seconds
spec/features/calculator_spec.rb 0.307 seconds
spec/controllers/shared_articles_controller_spec.rb 0.1 seconds
spec/controllers/dashboard/pending_controller_spec.rb 0.1 seconds
spec/controllers/pending_controller_spec.rb 0.1 seconds
spec/pending_spec.rb 0.1 seconds
spec/features/homepage_spec.rb 0.027 seconds
spec/controllers/shared.rb 0.023 seconds
spec/controllers/articles_controller_spec.rb 0.018 seconds
spec/rake_tasks/dummy_rake_spec.rb 0.014 seconds
spec/retry_spec.rb 0.011 seconds
spec/collection_spec.rb 0.009 seconds
spec/vcr_spec.rb 0.006 seconds
spec/controllers/welcome_controller_spec.rb 0.003 seconds
spec/services/calculator_spec.rb 0.003 seconds
spec/timecop_spec.rb 0.002 seconds
spec/services/meme_spec.rb 0.002 seconds
spec/bar_spec.rb 0.002 seconds
spec/dir with spaces/foobar_spec.rb 0.001 seconds

Start using Knapsack Pro

Sign up and speed up your tests.