I have a simple math crate that has 255 tests in it altogether. When I run those tests, they seem to execute quite slowly. I could have 32 tests where each test is about as complex as performing a single operation between 2 vectors or matrices, but each file takes at least a few seconds to finish. All of my tests are also documentation though. Could that be why every test seems to run slowly?
Each documentation test is compiled as its own binary and run separately. Compilation, linking, etc is taking the time there.
Ok, so it is that. Thanks for confirming. I wanted to make sure before I moved the bulk of those tests down into their own modules.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.