My organization ( / Open Food Network / knapsack_rspec_system_consumer / Build ID 2cb74565-fdd5-4842-903d-2861260f6c66

Public     Back to CI builds

Build Details

Commit hash Branch Parallel nodes Created at Updated at
9b2ed8846c5b1907ac850ec4e6e08c4acbbce160 refs/heads/8027-performance-improvement-on-adminenterprises 10 2023-02-03 08:25:16 UTC 2023-02-03 08:26:20 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 0.889 seconds. The shorter this time is, the better.


Parallel CI nodes

The first CI node finished its work at 2023-02-03 08:25:16 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 51.14 seconds.

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

Node index Finish time Execution time
0 2023-02-03 08:25:32 UTC 3 minutes 28.994 seconds
1 2023-02-03 08:25:17 UTC 3 minutes 3.521 seconds
2 2023-02-03 08:25:18 UTC 2 minutes 46.0 seconds
3 2023-02-03 08:25:17 UTC 2 minutes 17.08 seconds
4 2023-02-03 08:25:20 UTC 1 minute 35.479 seconds
5 Finished First 2023-02-03 08:25:16 UTC 2 minutes 3.47 seconds
6 2023-02-03 08:25:18 UTC 1 minute 32.975 seconds
7 Finished Last 2023-02-03 08:26:17 UTC 43.841 seconds
8 2023-02-03 08:25:35 UTC 33.831 seconds
9 2023-02-03 08:26:12 UTC 26.206 seconds

Build Distribution
(the most recent for the build)

Build distribution ID Parallel nodes Total execution time Ideal node execution time Distance
4397c410-2f1f-49b3-8fec-81824e2c9fcd 10 18 minutes 31.394 seconds 1 minute 51.14 seconds 1 minute 37.855 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 51.14 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 28.994 seconds
spec/system/consumer/shopping/shopping_spec.rb 2 minutes 15.156 seconds
spec/system/consumer/shopping/checkout_spec.rb 1 minute 59.152 seconds
spec/system/consumer/shopping/variant_overrides_spec.rb 1 minute 34.011 seconds
spec/system/consumer/shopping/cart_spec.rb 1 minute 1.385 seconds
spec/system/consumer/shops_spec.rb 1 minute 0.819 seconds
spec/system/consumer/split_checkout_tax_not_incl_spec.rb 43.841 seconds
spec/system/consumer/authentication_spec.rb 40.989 seconds
spec/system/consumer/split_checkout_tax_incl_spec.rb 39.759 seconds
spec/system/consumer/account_spec.rb 36.069 seconds
spec/system/consumer/cookies_spec.rb 33.831 seconds
spec/system/consumer/shopping/orders_spec.rb 27.857 seconds
spec/system/consumer/multilingual_spec.rb 26.206 seconds
spec/system/consumer/shopping/checkout_stripe_spec.rb 23.786 seconds
spec/system/consumer/registration_spec.rb 22.838 seconds
spec/system/consumer/shopping/checkout_auth_spec.rb 20.48 seconds
spec/system/consumer/shopping/checkout_paypal_spec.rb 16.08 seconds
spec/system/consumer/groups_spec.rb 13.379 seconds
spec/system/consumer/producers_spec.rb 13.157 seconds
spec/system/consumer/caching/shops_caching_spec.rb 11.63 seconds
spec/system/consumer/shopping/products_spec.rb 10.877 seconds
spec/system/consumer/user_password_spec.rb 9.212 seconds
spec/system/consumer/account/developer_settings_spec.rb 6.793 seconds
spec/system/consumer/account/cards_spec.rb 5.995 seconds
spec/system/consumer/shopping/embedded_groups_spec.rb 5.65 seconds
spec/system/consumer/shopping/unit_price_spec.rb 5.634 seconds
spec/system/consumer/caching/darkswarm_caching_spec.rb 5.554 seconds
spec/system/consumer/account/settings_spec.rb 4.354 seconds
spec/system/consumer/footer_links_spec.rb 3.983 seconds
spec/system/consumer/account/payments_spec.rb 3.12 seconds
spec/system/consumer/sitemap_spec.rb 0.818 seconds

Start using Knapsack Pro

Sign up and speed up your tests.