Knapsack Pro

My organization (openfoodnetwork.org) / Open Food Network / knapsack_rspec_test_the_rest / Build ID 379e6f51-ac03-448c-a206-645fb2fbbadf

Public     Back to CI builds

Build Details

Commit hash Branch Nodes Tests execution time Created at
a669932 refs/pull/10600/merge 5 10 minutes 31.35 seconds   13% 2023-03-22 04:41:14 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 32.5 seconds. The shorter this time is, the better.

Loading...

Parallel CI nodes

The first CI node finished its work at 2023-03-22 04:41:14 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 6.27 seconds.

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

Node index Finish time Tests execution time (10 minutes 31.35 seconds)
0 2023-03-22 04:41:25 UTC 2 minutes 1.54 seconds
1 Finished Last 2023-03-22 04:42:46 UTC 2 minutes 39.74 seconds
2 2023-03-22 04:41:14 UTC 1 minute 52.5 seconds
3 2023-03-22 04:42:00 UTC 2 minutes 2.6 seconds
4 Finished First 2023-03-22 04:41:14 UTC 1 minute 54.97 seconds

Test Files recorded on parallel CI nodes

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

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


Test file path (Displaying entries 1 - 100 of 134 in total files) Execution time
spec/mailers/producer_mailer_spec.rb 1 minute 8.99 seconds 43% Trend
spec/helpers/injection_helper_spec.rb 51.3 seconds 17% Trend
spec/services/order_syncer_spec.rb 37.93 seconds 2% Trend
spec/mailers/subscription_mailer_spec.rb 32.94 seconds 14% Trend
spec/jobs/subscription_confirm_job_spec.rb 32.84 seconds 6% Trend
spec/mailers/order_mailer_spec.rb 18.93 seconds 10% Trend
spec/services/order_factory_spec.rb 18.29 seconds 44% Trend
spec/requests/api/orders_spec.rb 17.93 seconds 2% Trend
spec/services/products_renderer_spec.rb 17.51 seconds 32% Trend
spec/services/permissions/order_spec.rb 16.54 seconds 12% Trend
spec/services/order_tax_adjustments_fetcher_spec.rb 15.53 seconds 38% Trend
spec/requests/checkout/routes_spec.rb 14.33 seconds 22% Trend
spec/views/layouts/darkswarm.html.haml_spec.rb 13.11 seconds 82% Trend
spec/services/process_payment_intent_spec.rb 12.13 seconds 33% Trend
spec/jobs/subscription_placement_job_spec.rb 12.08 seconds 3% Trend
spec/services/place_proxy_order_spec.rb 11.83 seconds 21% Trend
spec/services/paypal_items_builder_spec.rb 11.09 seconds 2% Trend
spec/views/spree/admin/orders/invoice.html.haml_spec.rb 11.09 seconds 20% Trend
spec/requests/checkout/stripe_sca_spec.rb 10.84 seconds 15% Trend
spec/views/spree/admin/orders/edit.html.haml_spec.rb 10.29 seconds 14% Trend
spec/requests/api/v1/customers_spec.rb 10.13 seconds 26% Trend
spec/helpers/tax_helper_spec.rb 9.08 seconds 8% Trend
spec/views/layouts/registration.html.haml_spec.rb 8.95 seconds 20% Trend
spec/services/exchange_products_renderer_spec.rb 8.46 seconds 5% Trend
spec/services/invoice_renderer_spec.rb 8.14 seconds 5% Trend
spec/services/order_available_shipping_methods_spec.rb 7.71 seconds 8% Trend
spec/services/order_fees_handler_spec.rb 7.59 seconds Trend
spec/services/order_cycle_form_spec.rb 7.34 seconds 6% Trend
spec/views/spree/orders/show.html.haml_spec.rb 6.28 seconds 40% Trend
spec/services/cart_service_spec.rb 6.13 seconds 8% Trend
spec/views/spree/shared/_order_details.html.haml_spec.rb 5.55 seconds 28% Trend
spec/services/order_workflow_spec.rb 5.54 seconds 28% Trend
spec/services/order_available_payment_methods_spec.rb 5.26 seconds 6% Trend
spec/services/order_cycle_distributed_products_spec.rb 4.72 seconds Trend
spec/jobs/order_cycle_opened_job_spec.rb 4.66 seconds 28% Trend
spec/helpers/admin/reports_helper_spec.rb 4.59 seconds 8% Trend
spec/services/cap_quantity_spec.rb 4.25 seconds 14% Trend
spec/services/variants_stock_levels_spec.rb 4.11 seconds 12% Trend
spec/services/checkout/payment_method_fetcher_spec.rb 3.95 seconds 30% Trend
spec/helpers/checkout_helper_spec.rb 3.85 seconds 5% Trend
spec/services/bulk_invoice_service_spec.rb 3.53 seconds 13% Trend
spec/services/tax_rate_finder_spec.rb 3.52 seconds 3% Trend
spec/services/sets/product_set_spec.rb 3.51 seconds 5% Trend
spec/jobs/order_cycle_closing_job_spec.rb 3.42 seconds 1% Trend
spec/queries/customers_with_balance_spec.rb 3.39 seconds 21% Trend
spec/services/search_orders_spec.rb 3.12 seconds 53% Trend
spec/requests/checkout/concurrency_spec.rb 2.9 seconds 4% Trend
spec/requests/checkout/failed_checkout_spec.rb 2.62 seconds 35% Trend
spec/services/order_cart_reset_spec.rb 2.31 seconds 17% Trend
spec/mailers/shipment_mailer_spec.rb 2.16 seconds 7% Trend
spec/services/variant_overrides_indexed_spec.rb 2.12 seconds 2% Trend
spec/jobs/order_cycle_notification_job_spec.rb 2.06 seconds 13% Trend
spec/services/shop/order_cycles_list_spec.rb 2.05 seconds Trend
spec/services/exchange_variant_bulk_updater_spec.rb 1.87 seconds 10% Trend
spec/requests/api/routes_spec.rb 1.78 seconds 6% Trend
spec/views/spree/orders/edit.html.haml_spec.rb 1.68 seconds 9% Trend
spec/components/product_component_spec.rb 1.68 seconds 9% Trend
spec/services/product_tag_rules_filterer_spec.rb 1.67 seconds 3% Trend
spec/services/order_cycle_webhook_service_spec.rb 1.48 seconds 21% Trend
spec/helpers/admin/subscriptions_helper_spec.rb 1.47 seconds 2% Trend
spec/views/spree/admin/payment_methods/index.html.haml_spec.rb 1.44 seconds 24% Trend
spec/requests/checkout/paypal_spec.rb 1.33 seconds 9% Trend
spec/services/order_payment_finder_spec.rb 1.19 seconds 12% Trend
spec/queries/outstanding_balance_spec.rb 1.18 seconds 3% Trend
spec/services/order_checkout_restart_spec.rb 1.07 seconds 13% Trend
spec/services/checkout/post_checkout_actions_spec.rb 999 miliseconds 1% Trend
spec/helpers/order_cycles_helper_spec.rb 967 miliseconds 21% Trend
spec/services/order_cycle_clone_spec.rb 883 miliseconds 8% Trend
spec/helpers/admin/orders_helper_spec.rb 844 miliseconds 8% Trend
spec/services/stripe_payment_status_spec.rb 756 miliseconds 5% Trend
spec/services/job_processor_spec.rb 747 miliseconds 8% Trend
spec/services/terms_of_service_spec.rb 521 miliseconds 17% Trend
spec/queries/batch_taggable_tags_query_spec.rb 487 miliseconds 31% Trend
spec/services/order_data_masker_spec.rb 475 miliseconds 12% Trend
spec/services/checkout/form_data_adapter_spec.rb 473 miliseconds 17% Trend
spec/services/order_cycle_warning_spec.rb 469 miliseconds 14% Trend
spec/helpers/shop_helper_spec.rb 415 miliseconds 17% Trend
spec/services/sets/model_set_spec.rb 404 miliseconds 6% Trend
spec/queries/complete_visible_orders_spec.rb 402 miliseconds 15% Trend
spec/queries/payments_requiring_action_spec.rb 398 miliseconds 9% Trend
spec/services/checkout/stripe_redirect_spec.rb 360 miliseconds 7% Trend
spec/services/user_default_address_setter_spec.rb 356 miliseconds 12% Trend
spec/queries/complete_orders_with_balance_spec.rb 350 miliseconds 7% Trend
spec/mailers/enterprise_mailer_spec.rb 323 miliseconds 5% Trend
spec/services/image_importer_spec.rb 311 miliseconds Trend
spec/helpers/i18n_helper_spec.rb 298 miliseconds 4% Trend
spec/requests/home_controller_spec.rb 295 miliseconds 95% Trend
spec/routing/stripe_spec.rb 271 miliseconds 17% Trend
spec/mailers/user_mailer_spec.rb 269 miliseconds 21% Trend
spec/services/user_locale_setter_spec.rb 259 miliseconds 13% Trend
spec/jobs/report_job_spec.rb 241 miliseconds 50% Trend
spec/views/spree/admin/orders/index.html.haml_spec.rb 241 miliseconds 4% Trend
spec/services/customer_order_cancellation_spec.rb 178 miliseconds 13% Trend
spec/requests/omniauth_callbacks_controller_spec.rb 164 miliseconds Trend
spec/services/variant_units/option_value_namer_spec.rb 153 miliseconds 26% Trend
spec/helpers/spree/base_helper_spec.rb 121 miliseconds 17% Trend
spec/services/path_checker_spec.rb 117 miliseconds 265% Trend
spec/services/tax_rate_updater_spec.rb 114 miliseconds 19% Trend
spec/helpers/spree/admin/orders_helper_spec.rb 95 miliseconds 1% Trend
spec/services/unit_prices_spec.rb 94 miliseconds 17% Trend

Start using Knapsack Pro

Sign up and speed up your tests.