My organization ( / Open Food Network / knapsack_rspec_system_consumer / Build ID 6b67ff48-7769-42d3-962a-4bb786b8124c

Public     Back to CI builds

Build Details

Commit hash Branch Parallel nodes Created at Updated at
f917027cb1690ad43769d5aa4d4a8218f93e5c3c refs/heads/8027-performance-improvement-on-adminenterprises 10 2023-01-25 10:14:29 UTC 2023-01-25 10:16:03 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 27.056 seconds. The shorter this time is, the better.


Parallel CI nodes

The first CI node finished its work at 2023-01-25 10:14:29 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 1 minute 47.683 seconds.

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

Node index Finish time Execution time
0 2023-01-25 10:15:07 UTC 3 minutes 24.577 seconds
1 2023-01-25 10:14:29 UTC 2 minutes 40.105 seconds
2 2023-01-25 10:14:29 UTC 1 minute 56.337 seconds
3 2023-01-25 10:14:30 UTC 2 minutes 39.601 seconds
4 2023-01-25 10:14:31 UTC 2 minutes 26.185 seconds
5 Finished First 2023-01-25 10:14:29 UTC 2 minutes 3.546 seconds
6 2023-01-25 10:14:29 UTC 1 minute 31.118 seconds
7 2023-01-25 10:14:31 UTC 1 minute 15.359 seconds
8 2023-01-25 10:15:17 UTC 0 seconds
9 Finished Last 2023-01-25 10:15:56 UTC 0 seconds

Build Distribution
(the most recent for the build)

Build distribution ID Parallel nodes Total execution time Ideal node execution time Distance
b7d5fddc-ebfc-41aa-9d94-363997701100 10 17 minutes 56.825 seconds 1 minute 47.683 seconds 1 minute 36.894 seconds

Test Files recorded on parallel CI nodes

The slow test files are highlighted in yellow.

Test files with higher execution time than 1 minute 47.683 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 24.577 seconds
spec/system/consumer/shopping/shopping_spec.rb 2 minutes 21.705 seconds
spec/system/consumer/shopping/checkout_spec.rb 1 minute 46.209 seconds
spec/system/consumer/shopping/variant_overrides_spec.rb 1 minute 31.711 seconds
spec/system/consumer/shopping/cart_spec.rb 1 minute 13.13 seconds
spec/system/consumer/split_checkout_tax_incl_spec.rb 1 minute 1.352 seconds
spec/system/consumer/shops_spec.rb 1 minute 1.251 seconds
spec/system/consumer/registration_spec.rb 36.879 seconds
spec/system/consumer/authentication_spec.rb 31.856 seconds
spec/system/consumer/cookies_spec.rb 29.941 seconds
spec/system/consumer/shopping/checkout_stripe_spec.rb 27.767 seconds
spec/system/consumer/shopping/orders_spec.rb 27.052 seconds
spec/system/consumer/split_checkout_tax_not_incl_spec.rb 26.708 seconds
spec/system/consumer/shopping/checkout_paypal_spec.rb 17.202 seconds
spec/system/consumer/shopping/checkout_auth_spec.rb 17.126 seconds
spec/system/consumer/account_spec.rb 16.667 seconds
spec/system/consumer/multilingual_spec.rb 13.267 seconds
spec/system/consumer/groups_spec.rb 12.11 seconds
spec/system/consumer/producers_spec.rb 11.993 seconds
spec/system/consumer/shopping/products_spec.rb 11.899 seconds
spec/system/consumer/caching/shops_caching_spec.rb 8.339 seconds
spec/system/consumer/user_password_spec.rb 7.402 seconds
spec/system/consumer/shopping/unit_price_spec.rb 6.159 seconds
spec/system/consumer/account/cards_spec.rb 5.999 seconds
spec/system/consumer/caching/darkswarm_caching_spec.rb 5.669 seconds
spec/system/consumer/account/developer_settings_spec.rb 5.499 seconds
spec/system/consumer/shopping/embedded_groups_spec.rb 5.466 seconds
spec/system/consumer/footer_links_spec.rb 4.079 seconds
spec/system/consumer/account/settings_spec.rb 3.901 seconds
spec/system/consumer/account/payments_spec.rb 3.092 seconds
spec/system/consumer/sitemap_spec.rb 0.834 seconds

Start using Knapsack Pro

Sign up and speed up your tests.