Using t.Parallel to speed up tests and also creating a faster make target to test locally (running all tests, but using build caches).
Also, pulling some of data creation on tests outside so we can avoid generating a lot of data without reason.
Having faster test suit improves feedback loop and CI times.
The native histogram tests are still taking an awful amount of time, but I did not had time to take a look into extracting data creation.
Summary
Using
t.Parallel
to speed up tests and also creating a faster make target to test locally (running all tests, but using build caches). Also, pulling some of data creation on tests outside so we can avoid generating a lot of data without reason.Having faster test suit improves feedback loop and CI times.
The native histogram tests are still taking an awful amount of time, but I did not had time to take a look into extracting data creation.
On main I get:
On my branch I get:
without racing it is a much better:
Changes