My organization (openfoodnetwork.org) / Open Food Network / knapsack_rspec_test_the_rest / Build ID 1173487d-ea7d-43b8-b631-d34643b20c35

Public     Back to CI builds

Build Details

Commit hash Branch Parallel nodes Created at Updated at
45ede12c14443e32c63cd8632fee49a7bef1e7f8 refs/heads/8027-performance-improvement-on-adminenterprises 5 2023-01-25 11:00:34 UTC 2023-01-25 11:02:41 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 56.69 seconds. The shorter this time is, the better.

Loading...

Parallel CI nodes

The first CI node finished its work at 2023-01-25 11:00:34 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 19.313 seconds.

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

Node index Finish time Execution time
0 2023-01-25 11:01:16 UTC 3 minutes 0.282 seconds
1 2023-01-25 11:01:31 UTC 2 minutes 27.542 seconds
2 2023-01-25 11:00:44 UTC 2 minutes 3.317 seconds
3 Finished First 2023-01-25 11:00:34 UTC 1 minute 41.161 seconds
4 Finished Last 2023-01-25 11:02:31 UTC 2 minutes 24.263 seconds

Build Distribution
(the most recent for the build)

Build distribution ID Parallel nodes Total execution time Ideal node execution time Distance
de923a1c-33ee-410d-821f-aa6b04de0660 5 11 minutes 36.564 seconds 2 minutes 19.313 seconds 0.003 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.93 minutes)


Test file path (Displaying entries 1 - 100 of 130 in total files) Execution time
spec/mailers/producer_mailer_spec.rb 1 minute 18.695 seconds
spec/helpers/injection_helper_spec.rb 1 minute 4.142 seconds
spec/services/order_syncer_spec.rb 43.404 seconds
spec/jobs/subscription_confirm_job_spec.rb 42.104 seconds
spec/requests/api/orders_spec.rb 26.955 seconds
spec/mailers/subscription_mailer_spec.rb 25.919 seconds
spec/services/permissions/order_spec.rb 20.655 seconds
spec/services/order_factory_spec.rb 20.378 seconds
spec/services/order_tax_adjustments_fetcher_spec.rb 18.084 seconds
spec/jobs/subscription_placement_job_spec.rb 17.451 seconds
spec/mailers/order_mailer_spec.rb 17.275 seconds
spec/requests/checkout/routes_spec.rb 15.989 seconds
spec/services/products_renderer_spec.rb 15.184 seconds
spec/requests/api/v1/customers_spec.rb 14.386 seconds
spec/services/place_proxy_order_spec.rb 13.522 seconds
spec/services/order_fees_handler_spec.rb 12.608 seconds
spec/services/process_payment_intent_spec.rb 12.067 seconds
spec/services/exchange_products_renderer_spec.rb 11.647 seconds
spec/views/spree/admin/orders/invoice.html.haml_spec.rb 11.504 seconds
spec/services/paypal_items_builder_spec.rb 11.309 seconds
spec/views/spree/admin/orders/edit.html.haml_spec.rb 10.778 seconds
spec/views/layouts/registration.html.haml_spec.rb 10.765 seconds
spec/helpers/tax_helper_spec.rb 9.864 seconds
spec/requests/checkout/stripe_sca_spec.rb 9.358 seconds
spec/requests/home_controller_spec.rb 9.212 seconds
spec/services/invoice_renderer_spec.rb 8.053 seconds
spec/services/order_available_payment_methods_spec.rb 7.476 seconds
spec/services/order_workflow_spec.rb 6.871 seconds
spec/services/order_cycle_distributed_products_spec.rb 6.574 seconds
spec/services/cart_service_spec.rb 6.229 seconds
spec/services/tax_rate_finder_spec.rb 5.85 seconds
spec/services/order_available_shipping_methods_spec.rb 5.422 seconds
spec/services/cap_quantity_spec.rb 5.16 seconds
spec/helpers/checkout_helper_spec.rb 4.985 seconds
spec/views/spree/orders/show.html.haml_spec.rb 4.737 seconds
spec/helpers/admin/reports_helper_spec.rb 4.698 seconds
spec/services/checkout/payment_method_fetcher_spec.rb 4.654 seconds
spec/views/spree/shared/_order_details.html.haml_spec.rb 4.411 seconds
spec/services/variants_stock_levels_spec.rb 4.287 seconds
spec/queries/customers_with_balance_spec.rb 4.196 seconds
spec/jobs/order_cycle_closing_job_spec.rb 4.044 seconds
spec/services/order_cycle_form_spec.rb 3.884 seconds
spec/services/sets/product_set_spec.rb 3.743 seconds
spec/services/variant_overrides_indexed_spec.rb 3.595 seconds
spec/requests/checkout/concurrency_spec.rb 2.926 seconds
spec/mailers/shipment_mailer_spec.rb 2.89 seconds
spec/services/exchange_variant_bulk_updater_spec.rb 2.627 seconds
spec/services/bulk_invoice_service_spec.rb 2.622 seconds
spec/requests/checkout/failed_checkout_spec.rb 2.557 seconds
spec/services/order_cart_reset_spec.rb 2.45 seconds
spec/requests/api/routes_spec.rb 2.224 seconds
spec/services/search_orders_spec.rb 2.221 seconds
spec/helpers/admin/subscriptions_helper_spec.rb 2.184 seconds
spec/services/product_tag_rules_filterer_spec.rb 2.111 seconds
spec/services/order_payment_finder_spec.rb 1.887 seconds
spec/services/shop/order_cycles_list_spec.rb 1.887 seconds
spec/services/order_checkout_restart_spec.rb 1.815 seconds
spec/jobs/order_cycle_notification_job_spec.rb 1.724 seconds
spec/views/spree/orders/edit.html.haml_spec.rb 1.62 seconds
spec/queries/outstanding_balance_spec.rb 1.476 seconds
spec/requests/checkout/paypal_spec.rb 1.355 seconds
spec/services/stripe_payment_status_spec.rb 1.323 seconds
spec/helpers/admin/orders_helper_spec.rb 1.247 seconds
spec/views/spree/admin/payment_methods/index.html.haml_spec.rb 1.028 seconds
spec/services/checkout/post_checkout_actions_spec.rb 0.927 seconds
spec/helpers/order_cycles_helper_spec.rb 0.864 seconds
spec/services/order_cycle_clone_spec.rb 0.828 seconds
spec/services/checkout/form_data_adapter_spec.rb 0.77 seconds
spec/services/order_data_masker_spec.rb 0.684 seconds
spec/services/terms_of_service_spec.rb 0.62 seconds
spec/services/order_cycle_warning_spec.rb 0.584 seconds
spec/queries/batch_taggable_tags_query_spec.rb 0.551 seconds
spec/queries/complete_orders_with_balance_spec.rb 0.536 seconds
spec/queries/complete_visible_orders_spec.rb 0.428 seconds
spec/services/image_importer_spec.rb 0.421 seconds
spec/services/sets/model_set_spec.rb 0.382 seconds
spec/mailers/user_mailer_spec.rb 0.381 seconds
spec/helpers/i18n_helper_spec.rb 0.377 seconds
spec/services/checkout/stripe_redirect_spec.rb 0.374 seconds
spec/services/user_default_address_setter_spec.rb 0.374 seconds
spec/helpers/shop_helper_spec.rb 0.327 seconds
spec/queries/payments_requiring_action_spec.rb 0.318 seconds
spec/mailers/enterprise_mailer_spec.rb 0.299 seconds
spec/jobs/report_job_spec.rb 0.295 seconds
spec/requests/omniauth_callbacks_controller_spec.rb 0.276 seconds
spec/services/user_locale_setter_spec.rb 0.268 seconds
spec/views/layouts/darkswarm.html.haml_spec.rb 0.256 seconds
spec/services/job_processor_spec.rb 0.255 seconds
spec/routing/stripe_spec.rb 0.242 seconds
spec/views/spree/admin/orders/index.html.haml_spec.rb 0.223 seconds
spec/services/variant_units/option_value_namer_spec.rb 0.171 seconds
spec/services/customer_order_cancellation_spec.rb 0.161 seconds
spec/helpers/spree/admin/orders_helper_spec.rb 0.155 seconds
spec/services/tax_rate_updater_spec.rb 0.154 seconds
spec/services/unit_prices_spec.rb 0.15 seconds
spec/requests/large_request_spec.rb 0.123 seconds
spec/mailers/test_mailer_spec.rb 0.119 seconds
spec/services/cache_service_spec.rb 0.11 seconds
spec/helpers/spree/base_helper_spec.rb 0.089 seconds
spec/services/weights_and_measures_spec.rb 0.085 seconds

Start using Knapsack Pro

Sign up and speed up your tests.