We don't always build every single test but it looks like the slow test analysis always runs even when there's no slow test:
https://github.com/KnapsackPro/knapsack_pro-ruby/blob/master/lib/knapsack_pro/base_allocator_builder.rb#L55
No slow tests being that slow_test_files = get_slow_test_files is an empty array.
An optimization to make would be to see if we actually got any slow tests back from the get_slow_test_files call. If we got an empty array, it should just bypass the analysis completely.
We don't always build every single test but it looks like the slow test analysis always runs even when there's no slow test:
https://github.com/KnapsackPro/knapsack_pro-ruby/blob/master/lib/knapsack_pro/base_allocator_builder.rb#L55
No slow tests being that
slow_test_files = get_slow_test_filesis an empty array.An optimization to make would be to see if we actually got any slow tests back from the
get_slow_test_filescall. If we got an empty array, it should just bypass the analysis completely.