My organization ( / Open Food Network / knapsack_rspec_system_consumer / Build ID 0b392ab1-e058-4661-8a26-e4d569828b03

Public     Back to CI builds

Build Details

Commit hash Branch Parallel nodes Created at Updated at
088b4c345f457e276d896392b9013be91dad99bc refs/heads/8027-performance-improvement-on-adminenterprises 10 2023-01-25 10:49:22 UTC 2023-01-25 10:51:00 UTC

Parallel CI Nodes

All parallel CI nodes finished their work.

Some of the CI nodes have not run any tests. This could happen when a CI node started late after other CI nodes had already executed all of their tests in the Queue Mode.

The time span between the finish times of the CI node that Finished First and the one which Finished Last is 1 minute 30.345 seconds. The shorter this time is, the better.


Parallel CI nodes

The first CI node finished its work at 2023-01-25 10:49:22 UTC. CI nodes that finished at least 60s later are highlighted.

The reason for slow CI nodes might be too large test files (see the Test Files tab). You may want to try the Knapsack Pro Queue Mode (Ruby) to improve the distribution of your tests. Learn more about dynamic test suite split here.

Note: if you run a CI build for the same commit again (for instance when you retry a CI build), then you will see the data updated below. Some of the nodes might be highlighted until the whole CI build is complete.

The average test execution time per CI node is 2 minutes 1.552 seconds.

The time span between the finish times of the CI node that Finished First and the one which Finished Last is 1 minute 30.345 seconds. The shorter this time is, the better.

Node index Finish time Execution time
0 2023-01-25 10:50:29 UTC 4 minutes 27.528 seconds
1 2023-01-25 10:49:22 UTC 3 minutes 20.53 seconds
2 2023-01-25 10:49:22 UTC 3 minutes 15.23 seconds
3 Finished First 2023-01-25 10:49:22 UTC 2 minutes 33.294 seconds
4 2023-01-25 10:49:23 UTC 2 minutes 32.426 seconds
5 2023-01-25 10:49:24 UTC 1 minute 6.143 seconds
6 2023-01-25 10:49:23 UTC 1 minute 26.86 seconds
7 2023-01-25 10:49:48 UTC 58.971 seconds
8 2023-01-25 10:49:47 UTC 34.538 seconds
9 Finished Last 2023-01-25 10:50:52 UTC 0 seconds

Build Distribution
(the most recent for the build)

Build distribution ID Parallel nodes Total execution time Ideal node execution time Distance
5505e56f-f4b5-4344-a865-bc97fa620393 10 20 minutes 15.517 seconds 2 minutes 1.552 seconds 2 minutes 25.976 seconds

Test Files recorded on parallel CI nodes

The slow test files are highlighted in yellow.

Test files with higher execution time than 2 minutes 1.552 seconds are a bottleneck because they take more time than the 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 your CI builds faster.

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 (Displaying all 31 entries files) Execution time
spec/system/consumer/split_checkout_spec.rb 4 minutes 27.528 seconds
spec/system/consumer/shopping/shopping_spec.rb 2 minutes 18.345 seconds
spec/system/consumer/shopping/checkout_spec.rb 1 minute 50.602 seconds
spec/system/consumer/shopping/variant_overrides_spec.rb 1 minute 47.204 seconds
spec/system/consumer/shopping/cart_spec.rb 1 minute 22.565 seconds
spec/system/consumer/shops_spec.rb 1 minute 15.413 seconds
spec/system/consumer/split_checkout_tax_incl_spec.rb 1 minute 6.143 seconds
spec/system/consumer/shopping/orders_spec.rb 58.971 seconds
spec/system/consumer/shopping/checkout_auth_spec.rb 34.538 seconds
spec/system/consumer/authentication_spec.rb 32.268 seconds
spec/system/consumer/split_checkout_tax_not_incl_spec.rb 29.307 seconds
spec/system/consumer/cookies_spec.rb 27.143 seconds
spec/system/consumer/shopping/checkout_stripe_spec.rb 24.75 seconds
spec/system/consumer/registration_spec.rb 22.684 seconds
spec/system/consumer/shopping/checkout_paypal_spec.rb 16.428 seconds
spec/system/consumer/account_spec.rb 15.293 seconds
spec/system/consumer/groups_spec.rb 11.926 seconds
spec/system/consumer/producers_spec.rb 11.682 seconds
spec/system/consumer/shopping/products_spec.rb 11.164 seconds
spec/system/consumer/multilingual_spec.rb 10.995 seconds
spec/system/consumer/caching/shops_caching_spec.rb 10.515 seconds
spec/system/consumer/user_password_spec.rb 8.037 seconds
spec/system/consumer/shopping/unit_price_spec.rb 6.27 seconds
spec/system/consumer/shopping/embedded_groups_spec.rb 5.959 seconds
spec/system/consumer/account/cards_spec.rb 5.606 seconds
spec/system/consumer/account/developer_settings_spec.rb 5.441 seconds
spec/system/consumer/caching/darkswarm_caching_spec.rb 5.267 seconds
spec/system/consumer/account/payments_spec.rb 4.296 seconds
spec/system/consumer/footer_links_spec.rb 4.244 seconds
spec/system/consumer/account/settings_spec.rb 4.176 seconds
spec/system/consumer/sitemap_spec.rb 0.774 seconds

Start using Knapsack Pro

Sign up and speed up your tests.