My organization (openfoodnetwork.org) / Open Food Network / knapsack_rspec_system_consumer / Build ID 374a4c2e-0848-4219-858c-fd380b0d8e15

Public     Back to CI builds

Build Details

Commit hash Branch Parallel nodes Created at Updated at
45ede12c14443e32c63cd8632fee49a7bef1e7f8 refs/heads/8027-performance-improvement-on-adminenterprises 10 2023-01-25 10:58:55 UTC 2023-01-25 11:00:06 UTC

Parallel CI Nodes

All parallel CI nodes finished their work.

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

Loading...

Parallel CI nodes

The first CI node finished its work at 2023-01-25 10:58:55 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 6.405 seconds.

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

Node index Finish time Execution time
0 2023-01-25 10:59:26 UTC 3 minutes 42.623 seconds
1 2023-01-25 10:58:56 UTC 3 minutes 4.909 seconds
2 2023-01-25 10:58:57 UTC 2 minutes 4.637 seconds
3 2023-01-25 10:58:59 UTC 1 minute 31.244 seconds
4 2023-01-25 10:58:56 UTC 1 minute 42.688 seconds
5 2023-01-25 10:58:57 UTC 2 minutes 22.951 seconds
6 Finished First 2023-01-25 10:58:55 UTC 2 minutes 6.503 seconds
7 Finished Last 2023-01-25 11:00:00 UTC 1 minute 33.309 seconds
8 2023-01-25 10:58:56 UTC 1 minute 35.608 seconds
9 2023-01-25 10:58:56 UTC 1 minute 19.575 seconds

Build Distribution
(the most recent for the build)

Build distribution ID Parallel nodes Total execution time Ideal node execution time Distance
9d17c1bc-4cd8-42f3-bc7e-2da6590fab58 10 21 minutes 4.044 seconds 2 minutes 6.405 seconds 1 minute 36.219 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 6.405 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 3 minutes 42.623 seconds
spec/system/consumer/shopping/shopping_spec.rb 2 minutes 20.821 seconds
spec/system/consumer/shopping/variant_overrides_spec.rb 2 minutes 0.395 seconds
spec/system/consumer/shopping/checkout_spec.rb 1 minute 53.562 seconds
spec/system/consumer/shops_spec.rb 1 minute 42.688 seconds
spec/system/consumer/authentication_spec.rb 1 minute 33.309 seconds
spec/system/consumer/shopping/cart_spec.rb 1 minute 12.715 seconds
spec/system/consumer/split_checkout_tax_incl_spec.rb 1 minute 6.031 seconds
spec/system/consumer/shopping/orders_spec.rb 52.868 seconds
spec/system/consumer/shopping/checkout_auth_spec.rb 40.291 seconds
spec/system/consumer/split_checkout_tax_not_incl_spec.rb 26.381 seconds
spec/system/consumer/cookies_spec.rb 26.257 seconds
spec/system/consumer/registration_spec.rb 25.365 seconds
spec/system/consumer/shopping/checkout_stripe_spec.rb 22.698 seconds
spec/system/consumer/shopping/checkout_paypal_spec.rb 17.282 seconds
spec/system/consumer/account_spec.rb 15.256 seconds
spec/system/consumer/groups_spec.rb 12.375 seconds
spec/system/consumer/shopping/products_spec.rb 11.299 seconds
spec/system/consumer/producers_spec.rb 11.156 seconds
spec/system/consumer/multilingual_spec.rb 10.154 seconds
spec/system/consumer/caching/shops_caching_spec.rb 8.894 seconds
spec/system/consumer/user_password_spec.rb 8.601 seconds
spec/system/consumer/shopping/unit_price_spec.rb 6.618 seconds
spec/system/consumer/caching/darkswarm_caching_spec.rb 6.395 seconds
spec/system/consumer/shopping/embedded_groups_spec.rb 6.108 seconds
spec/system/consumer/account/cards_spec.rb 5.745 seconds
spec/system/consumer/account/developer_settings_spec.rb 5.288 seconds
spec/system/consumer/account/settings_spec.rb 4.567 seconds
spec/system/consumer/footer_links_spec.rb 3.979 seconds
spec/system/consumer/account/payments_spec.rb 3.402 seconds
spec/system/consumer/sitemap_spec.rb 0.934 seconds

Start using Knapsack Pro

Sign up and speed up your tests.