Knapsack Pro

My organization (openfoodnetwork.org) / Open Food Network / knapsack_rspec_test_the_rest / Build ID 3be566d3-2f81-49ac-b153-8ac16ddd9fb9

Public     Back to CI builds

Build Details

Commit hash Branch Nodes Tests execution time Created at
1b42fb8 refs/pull/10567/merge 5 11 minutes 41.71 seconds   24% 2023-03-17 10:33:48 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 2 minutes 13.35 seconds. The shorter this time is, the better.

Loading...

Parallel CI nodes

The first CI node finished its work at 2023-03-17 10:33:48 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 20.35 seconds.

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

Node index Finish time Tests execution time (11 minutes 41.71 seconds)
0 2023-03-17 10:35:56 UTC 2 minutes 45.67 seconds
1 Finished Last 2023-03-17 10:36:01 UTC 2 minutes 49.41 seconds
2 2023-03-17 10:34:46 UTC 1 minute 39.16 seconds
3 2023-03-17 10:35:48 UTC 2 minutes 51.73 seconds
4 Finished First 2023-03-17 10:33:48 UTC 1 minute 35.77 seconds

Test Files recorded on parallel CI nodes

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

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


Test file path (Displaying entries 101 - 134 of 134 in total files) Execution time
spec/services/tax_rate_updater_spec.rb 95 miliseconds 2% Trend
spec/jobs/webhook_delivery_job_spec.rb 89 miliseconds 22% Trend
spec/services/address_geocoder_spec.rb 86 miliseconds 16% Trend
spec/helpers/spree/admin/orders_helper_spec.rb 85 miliseconds 10% Trend
spec/services/content_sanitizer_spec.rb 84 miliseconds 6% Trend
spec/services/cache_service_spec.rb 84 miliseconds 19% Trend
spec/jobs/bulk_invoice_job_spec.rb 67 miliseconds 19% Trend
spec/helpers/spree/orders_helper_spec.rb 65 miliseconds 10% Trend
spec/requests/large_request_spec.rb 63 miliseconds 1% Trend
spec/validators/date_time_string_validator_spec.rb 63 miliseconds 8% Trend
spec/constraints/feature_toggle_constraint_spec.rb 60 miliseconds 19% Trend
spec/validators/integer_array_validator_spec.rb 57 miliseconds 4% Trend
spec/services/default_stock_location_spec.rb 53 miliseconds 19% Trend
spec/services/default_shipping_category_spec.rb 49 miliseconds 18% Trend
spec/helpers/navigation_helper_spec.rb 47 miliseconds 30% Trend
spec/services/embedded_page_service_spec.rb 41 miliseconds 28% Trend
spec/services/path_checker_spec.rb 33 miliseconds 2% Trend
spec/services/order_cycle_distributed_variants_spec.rb 28 miliseconds 6% Trend
spec/helpers/shared_helper_spec.rb 26 miliseconds 23% Trend
spec/helpers/application_helper_spec.rb 24 miliseconds 62% Trend
spec/services/mail_configuration_spec.rb 23 miliseconds 9% Trend
spec/services/permitted_attributes/order_cycle_spec.rb 23 miliseconds 4% Trend
spec/services/permitted_attributes/user_spec.rb 23 miliseconds Trend
spec/services/url_generator_spec.rb 21 miliseconds 25% Trend
spec/components/example_component_spec.rb 17 miliseconds 10% Trend
spec/jobs/job_logger_spec.rb 17 miliseconds 29% Trend
spec/helpers/terms_and_conditions_helper_spec.rb 15 miliseconds 34% Trend
spec/jobs/heartbeat_job_spec.rb 11 miliseconds Trend
spec/components/distributor_title_component_spec.rb 10 miliseconds 47% Trend
spec/helpers/serializer_helper_spec.rb 10 miliseconds 9% Trend
spec/services/upload_sanitizer_spec.rb 9 miliseconds 12% Trend
spec/helpers/link_helper_spec.rb 8 miliseconds 19% Trend
spec/helpers/spree/admin/base_helper_spec.rb 7 miliseconds 41% Trend
spec/services/product_filters_spec.rb 6 miliseconds 25% Trend

Start using Knapsack Pro

Sign up and speed up your tests.