Knapsack Pro

DEV Community (dev.to) / dev.to / Forem / Build ID 40df277d-38bc-4968-8bbc-07af3bcbc33b

Build Details

Back to CI builds

Public
Commit hash Branch Nodes Start Wall time Tests execution time
0c1831a refs/pull/21358/merge 8 14 days ago 5 minutes 45.6 seconds 35 minutes 25.29 seconds   24%

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

Parallel CI nodes

The first CI node finished its work at 2024-11-07 18:21:53 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 4 minutes 25.67 seconds.

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

Node index Finish time Tests execution time (35 minutes 25.29 seconds) Test files
0 Finished First 2024-11-07 18:21:53 UTC 4 minutes 17.33 seconds
1 Finished Last 2024-11-07 18:23:09 UTC 5 minutes 28.53 seconds
2 2024-11-07 18:21:54 UTC 4 minutes 14.79 seconds
3 2024-11-07 18:21:54 UTC 4 minutes 15.19 seconds
4 2024-11-07 18:21:56 UTC 4 minutes 19.76 seconds
5 2024-11-07 18:21:56 UTC 4 minutes 17.89 seconds
6 2024-11-07 18:21:53 UTC 4 minutes 17.43 seconds
7 2024-11-07 18:21:55 UTC 4 minutes 14.4 seconds

Test Files recorded on parallel CI nodes

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

Running 10 parallel nodes should result in an optimal build time (~3.54 minutes)


Test file path (Displaying entries 101 - 200 of 927 in total files) Execution time
spec/requests/api/v1/docs/audience_segments_spec.rb
3.77 seconds 5% Trend
spec/helpers/social_link_helper_spec.rb
3.71 seconds 1186% Trend
spec/queries/comments/community_wellness_query_spec.rb
3.68 seconds 6% Trend
spec/requests/user/user_organization_spec.rb
3.62 seconds 28% Trend
spec/services/articles/feeds/article_score_calculator_for_user_spec.rb
3.55 seconds 3% Trend
spec/requests/notification_subscriptions_spec.rb
3.52 seconds 2% Trend
spec/services/badges/award_top_seven_spec.rb
3.51 seconds 1901% Trend
spec/services/users/suggest_for_sidebar_spec.rb
3.5 seconds 754% Trend
spec/services/search/user_spec.rb
3.42 seconds 496% Trend
spec/requests/onboardings_spec.rb
3.4 seconds Trend
spec/models/settings/base_spec.rb
3.39 seconds 408% Trend
spec/requests/api/v1/user_roles_spec.rb
3.35 seconds 6% Trend
spec/requests/admin/billboards_spec.rb
3.3 seconds 8% Trend
spec/services/notifications/reactions/send_spec.rb
3.28 seconds 7% Trend
spec/requests/collections_spec.rb
3.28 seconds 256% Trend
spec/workers/moderator/banish_user_worker_spec.rb
3.27 seconds 84% Trend
spec/services/search/comment_spec.rb
3.26 seconds 52% Trend
spec/services/feature_flag_spec.rb
3.25 seconds 1208% Trend
spec/requests/admin/articles_spec.rb
3.23 seconds 8% Trend
spec/requests/comments_create_spec.rb
3.23 seconds 24% Trend
spec/queries/billboards/filtered_ads_query_spec.rb
3.19 seconds Trend
spec/requests/videos_spec.rb
3.19 seconds 307% Trend
spec/requests/api/v1/instances_spec.rb
3.15 seconds 708% Trend
spec/queries/comments/count_spec.rb
3.14 seconds 7% Trend
spec/services/images/generate_social_image_magickally_spec.rb
3.12 seconds 8% Trend
spec/requests/api/v0/followers_spec.rb
3.12 seconds 255% Trend
spec/queries/organizations/suggest_prominent_spec.rb
3.11 seconds 7% Trend
spec/requests/registrations_spec.rb
3.02 seconds 10% Trend
spec/services/moderator/unpublish_all_articles_spec.rb
2.99 seconds 4% Trend
spec/system/user/user_edits_customization_spec.rb
2.97 seconds 175% Trend
spec/system/link_for_tags_in_posts_in_notifications_spec.rb
2.95 seconds 67% Trend
spec/services/notifications/new_comment/send_spec.rb
2.95 seconds 1% Trend
spec/liquid_tags/replit_tag_spec.rb
2.94 seconds 2178% Trend
spec/system/authentication/user_logs_in_with_forem_spec.rb
2.87 seconds 40% Trend
spec/requests/api/v1/docs/articles_spec.rb
2.87 seconds Trend
spec/views/articles_spec.rb
2.82 seconds 166% Trend
spec/system/articles/feeds/basic_spec.rb
2.8 seconds 36% Trend
spec/requests/admin/html_variants_spec.rb
2.79 seconds 11% Trend
spec/liquid_tags/user_subscription_tag_spec.rb
2.77 seconds 1048% Trend
spec/system/authentication/user_logs_in_with_apple_spec.rb
2.7 seconds 26% Trend
spec/system/authentication/user_logs_in_with_facebook_spec.rb
2.7 seconds 44% Trend
spec/services/authentication/providers/facebook_spec.rb
2.7 seconds 4171% Trend
spec/system/articles/feeds/large_forem_experimental_spec.rb
2.68 seconds 45% Trend
spec/requests/response_templates_spec.rb
2.65 seconds 8% Trend
spec/services/edge_cache/bust_spec.rb
2.61 seconds 866% Trend
spec/requests/admin/badges_spec.rb
2.61 seconds 72% Trend
spec/requests/api/v1/docs/organizations_spec.rb
2.58 seconds 4% Trend
spec/models/html_variant_spec.rb
2.55 seconds 521% Trend
spec/system/admin/admin_visits_overview_spec.rb
2.54 seconds 398% Trend
spec/system/search/display_articles_search_spec.rb
2.53 seconds 46% Trend
spec/policies/comment_policy_spec.rb
2.52 seconds 10% Trend
spec/requests/search_spec.rb
2.52 seconds 8% Trend
spec/models/feed_event_spec.rb
2.5 seconds 9% Trend
spec/services/feed_events/bulk_upsert_spec.rb
2.46 seconds 8% Trend
spec/uploaders/profile_image_uploader_spec.rb
2.45 seconds 177% Trend
spec/services/organizations/delete_spec.rb
2.44 seconds 108% Trend
spec/requests/admin/badge_achievements_spec.rb
2.41 seconds 5% Trend
spec/system/homepage/user_visits_homepage_with_announcement_spec.rb
2.39 seconds 74% Trend
spec/models/tag_adjustment_spec.rb
2.38 seconds 6% Trend
spec/system/user/user_edits_profile_spec.rb
2.38 seconds 6% Trend
spec/requests/admin/broadcasts_spec.rb
2.33 seconds 6% Trend
spec/system/authentication/user_logs_in_with_email_spec.rb
2.32 seconds 40% Trend
spec/requests/pages_spec.rb
2.31 seconds 2% Trend
spec/workers/metrics/record_daily_usage_worker_spec.rb
2.31 seconds 7% Trend
spec/requests/stories/feeds_spec.rb
2.31 seconds 18% Trend
spec/models/organization_membership_spec.rb
2.31 seconds 1287% Trend
spec/services/search/username_spec.rb
2.28 seconds 9% Trend
spec/requests/page_views_spec.rb
2.24 seconds 7% Trend
spec/services/notifications/moderation/send_spec.rb
2.24 seconds 2% Trend
spec/system/authentication/user_logs_in_with_github_spec.rb
2.21 seconds 47% Trend
spec/requests/admin/permissions_spec.rb
2.21 seconds 402% Trend
spec/requests/admin/consumer_apps_spec.rb
2.2 seconds 10% Trend
spec/requests/api/v1/docs/user_roles_spec.rb
2.16 seconds 16% Trend
spec/initializers/rack_attack_spec.rb
2.16 seconds 2% Trend
spec/requests/api/v1/docs/readinglist_spec.rb
2.15 seconds 836% Trend
spec/services/search/article_spec.rb
2.14 seconds 5% Trend
spec/requests/admin/navigation_link_spec.rb
2.12 seconds 168% Trend
spec/requests/articles/articles_create_spec.rb
2.12 seconds 5% Trend
spec/requests/follows_bulk_show_spec.rb
2.11 seconds 321% Trend
spec/requests/api/v0/organizations_spec.rb
2.11 seconds 6% Trend
spec/requests/admin/organization_memberships_spec.rb
2.09 seconds 3% Trend
spec/requests/admin/listings_categories_spec.rb
2.03 seconds 9% Trend
spec/policies/reaction_policy_spec.rb
2.01 seconds 6% Trend
spec/system/admin/config/admin_updates_smtp_settings_spec.rb
1.99 seconds 9% Trend
spec/models/data_update_script_spec.rb
1.96 seconds 483% Trend
spec/queries/comments/tree_spec.rb
1.95 seconds 6% Trend
spec/system/search/user_searches_users_spec.rb
1.92 seconds 13% Trend
spec/services/notifications/notifiable_action/send_spec.rb
1.91 seconds 6% Trend
spec/system/search/display_users_search_spec.rb
1.9 seconds 42% Trend
spec/requests/comments_with_cache_spec.rb
1.86 seconds 10% Trend
spec/requests/user_subscriptions_spec.rb
1.85 seconds 8% Trend
spec/system/articles/user_visits_article_stats_spec.rb
1.85 seconds 42% Trend
spec/serializers/search/reading_list_article_serializer_spec.rb
1.81 seconds 424% Trend
spec/system/admin/admin_manages_pages_spec.rb
1.8 seconds 36% Trend
spec/services/articles/feeds/basic_spec.rb
1.7 seconds 6% Trend
spec/decorators/article_decorator_spec.rb
1.7 seconds 6% Trend
spec/requests/api/v1/recommended_articles_lists_spec.rb
1.69 seconds 38% Trend
spec/services/podcasts/feed_spec.rb
1.67 seconds 1% Trend
spec/models/rating_vote_spec.rb
1.66 seconds 5% Trend
spec/requests/api_secrets_create_spec.rb
1.66 seconds 250% Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free