Knapsack Pro

My organization (openfoodnetwork.org) / Open Food Network / knapsack_rspec_test_the_rest / Build ID 5ba2b98b-b8f8-403d-bfc8-264b16f18d99

Public     Back to CI builds

Build Details

Commit hash Branch Nodes Tests execution time Created at
ee42b96 refs/heads/fix-tax-not-charged-when-tax-category-set-to-inherit-from-product 5 10 minutes 7.62 seconds   8% 2023-03-09 17:13:22 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 47.01 seconds. The shorter this time is, the better.

Loading...

Parallel CI nodes

The first CI node finished its work at 2023-03-09 17:13: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.53 seconds.

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

Node index Finish time Tests execution time (10 minutes 7.62 seconds)
0 Finished First 2023-03-09 17:13:22 UTC 1 minute 27.15 seconds
1 2023-03-09 17:14:23 UTC 2 minutes 21.7 seconds
2 2023-03-09 17:13:57 UTC 1 minute 51.32 seconds
3 2023-03-09 17:14:05 UTC 2 minutes 5.26 seconds
4 Finished Last 2023-03-09 17:15:09 UTC 2 minutes 22.21 seconds

Test Files recorded on parallel CI nodes

You can likely decrease your CI build time by around 21 seconds by running more parallel CI nodes.

Running 6 parallel nodes should result in an optimal build time (~1.69 minutes)


Test file path (Displaying entries 101 - 131 of 131 in total files) Execution time
spec/services/content_sanitizer_spec.rb 86 miliseconds 3% Trend
spec/helpers/spree/orders_helper_spec.rb 83 miliseconds 40% Trend
spec/services/weights_and_measures_spec.rb 82 miliseconds 11% Trend
spec/jobs/bulk_invoice_job_spec.rb 78 miliseconds 6% Trend
spec/helpers/spree/base_helper_spec.rb 75 miliseconds 33% Trend
spec/helpers/navigation_helper_spec.rb 72 miliseconds 4% Trend
spec/services/address_geocoder_spec.rb 69 miliseconds 6% Trend
spec/views/spree/admin/shared/_order_links.html.haml_spec.rb 63 miliseconds 33% Trend
spec/constraints/feature_toggle_constraint_spec.rb 56 miliseconds 11% Trend
spec/validators/integer_array_validator_spec.rb 48 miliseconds 19% Trend
spec/helpers/application_helper_spec.rb 46 miliseconds 28% Trend
spec/services/default_shipping_category_spec.rb 45 miliseconds 25% Trend
spec/services/embedded_page_service_spec.rb 44 miliseconds 22% Trend
spec/validators/date_time_string_validator_spec.rb 44 miliseconds 24% Trend
spec/helpers/shared_helper_spec.rb 38 miliseconds 11% Trend
spec/services/url_generator_spec.rb 34 miliseconds 21% Trend
spec/services/order_cycle_distributed_variants_spec.rb 32 miliseconds 3% Trend
spec/components/distributor_title_component_spec.rb 24 miliseconds 26% Trend
spec/services/path_checker_spec.rb 23 miliseconds 32% Trend
spec/jobs/job_logger_spec.rb 20 miliseconds 16% Trend
spec/services/mail_configuration_spec.rb 18 miliseconds 14% Trend
spec/services/permitted_attributes/user_spec.rb 18 miliseconds 21% Trend
spec/helpers/terms_and_conditions_helper_spec.rb 18 miliseconds 21% Trend
spec/services/permitted_attributes/order_cycle_spec.rb 16 miliseconds 33% Trend
spec/components/example_component_spec.rb 13 miliseconds 31% Trend
spec/helpers/serializer_helper_spec.rb 11 miliseconds Trend
spec/helpers/link_helper_spec.rb 11 miliseconds Trend
spec/services/upload_sanitizer_spec.rb 10 miliseconds 25% Trend
spec/helpers/spree/admin/base_helper_spec.rb 9 miliseconds 25% Trend
spec/jobs/heartbeat_job_spec.rb 8 miliseconds 27% Trend
spec/services/product_filters_spec.rb 6 miliseconds 25% Trend

Start using Knapsack Pro

Sign up and speed up your tests.