Knapsack Pro

My organization (openfoodnetwork.org) / Open Food Network / test_the_rest / Build ID 00af4065-3924-48a3-9fb8-d0693ec96019

Build Details

Back to CI builds

Public
Commit hash Branch Nodes Start Wall time Tests execution time
e198131 refs/heads/refactor-products-renderer 5 2 months ago 5 minutes 35.36 seconds 12 minutes 36.62 seconds   1%

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 3 minutes 1.08 seconds. The shorter this time is, the better.

Parallel CI nodes

The first CI node finished its work at 2024-07-10 02:20:17 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 31.33 seconds.

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

Node index Finish time Tests execution time (12 minutes 36.62 seconds) Test files
0 2024-07-10 02:21:28 UTC 3 minutes 2.5 seconds
1 Finished First 2024-07-10 02:20:17 UTC 2 minutes 23.79 seconds
2 2024-07-10 02:20:25 UTC 2 minutes 24.46 seconds
3 Finished Last 2024-07-10 02:23:18 UTC 2 minutes 22.84 seconds
4 2024-07-10 02:20:33 UTC 2 minutes 23.04 seconds

Test Files recorded on parallel CI nodes

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

Running 7 parallel nodes should result in an optimal build time (~1.8 minutes)


Test file path (Displaying entries 101 - 155 of 155 in total files) Execution time
spec/views/spree/admin/orders/index.html.haml_spec.rb
414 miliseconds 4% Trend
spec/services/image_importer_spec.rb
414 miliseconds 1% Trend
spec/routing/stripe_spec.rb
393 miliseconds 1% Trend
spec/requests/errors_spec.rb
376 miliseconds 3% Trend
spec/services/orders/customer_cancellation_service_spec.rb
366 miliseconds 4% Trend
spec/jobs/connect_app_job_spec.rb
361 miliseconds 11% Trend
spec/requests/omniauth_callbacks_controller_spec.rb
357 miliseconds 12% Trend
spec/services/variant_units/option_value_namer_spec.rb
356 miliseconds 2% Trend
spec/views/registration/steps/_details.html.haml_spec.rb
343 miliseconds 8% Trend
spec/helpers/spree/base_helper_spec.rb
342 miliseconds 3% Trend
spec/services/weights_and_measures_spec.rb
334 miliseconds 15% Trend
spec/mailers/test_mailer_spec.rb
333 miliseconds 67% Trend
spec/mailers/report_mailer_spec.rb
329 miliseconds 50% Trend
spec/services/address_geocoder_spec.rb
323 miliseconds 4% Trend
spec/services/html_sanitizer_spec.rb
322 miliseconds 5% Trend
spec/validators/integer_array_validator_spec.rb
318 miliseconds 2% Trend
spec/helpers/spree/admin/orders_helper_spec.rb
312 miliseconds 4% Trend
spec/helpers/application_helper_spec.rb
311 miliseconds 3% Trend
spec/requests/api_docs_spec.rb
310 miliseconds 9% Trend
spec/services/tax_rate_updater_spec.rb
308 miliseconds 5% Trend
spec/helpers/admin/enterprises_helper_spec.rb
306 miliseconds 12% Trend
spec/services/content_sanitizer_spec.rb
301 miliseconds 11% Trend
spec/services/cache_service_spec.rb
298 miliseconds 1% Trend
spec/jobs/webhook_delivery_job_spec.rb
295 miliseconds Trend
spec/services/default_stock_location_spec.rb
294 miliseconds 6% Trend
spec/helpers/spree/orders_helper_spec.rb
291 miliseconds 4% Trend
spec/validators/date_time_string_validator_spec.rb
290 miliseconds 8% Trend
spec/helpers/spree/admin/base_helper_spec.rb
290 miliseconds 9% Trend
spec/helpers/navigation_helper_spec.rb
288 miliseconds 8% Trend
spec/services/embedded_page_service_spec.rb
286 miliseconds 6% Trend
spec/requests/large_request_spec.rb
286 miliseconds 10% Trend
spec/helpers/terms_and_conditions_helper_spec.rb
283 miliseconds Trend
spec/services/default_shipping_category_spec.rb
283 miliseconds 4% Trend
spec/reflexes/user_reflex_spec.rb
281 miliseconds 10% Trend
spec/services/order_cycles/distributed_variants_service_spec.rb
277 miliseconds Trend
spec/constraints/feature_toggle_constraint_spec.rb
276 miliseconds 1% Trend
spec/services/mail_configuration_spec.rb
275 miliseconds 2% Trend
spec/services/path_checker_spec.rb
275 miliseconds 3% Trend
spec/services/upload_sanitizer_spec.rb
274 miliseconds 1% Trend
spec/views/admin/products_v3/_filters.html.haml_spec.rb
270 miliseconds 9% Trend
spec/services/url_generator_spec.rb
268 miliseconds 4% Trend
spec/services/permitted_attributes/user_spec.rb
266 miliseconds 3% Trend
spec/components/vertical_ellipsis_menu_component_spec.rb
266 miliseconds 6% Trend
spec/jobs/job_logger_spec.rb
263 miliseconds 4% Trend
spec/components/example_component_spec.rb
262 miliseconds 9% Trend
spec/services/permitted_attributes/order_cycle_spec.rb
259 miliseconds 8% Trend
spec/helpers/spree/admin/general_settings_helper_spec.rb
259 miliseconds 5% Trend
spec/jobs/heartbeat_job_spec.rb
259 miliseconds 2% Trend
spec/helpers/map_helper_spec.rb
256 miliseconds 7% Trend
spec/services/file_path_sanitizer_spec.rb
255 miliseconds 7% Trend
spec/components/distributor_title_component_spec.rb
252 miliseconds 9% Trend
spec/helpers/serializer_helper_spec.rb
251 miliseconds 9% Trend
spec/helpers/link_helper_spec.rb
249 miliseconds 8% Trend
spec/services/product_filters_spec.rb
249 miliseconds 6% Trend
spec/requests/checkout/stripe_sca_spec.rb
0 seconds 100% Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free