Is there a way to see a report of how long each test takes to complete? e.g.
test_1....2ms
test_2...25ms
...
I'm thinking of how I would (hypothetically) go about trimming down the runtime of a test suite for a faster feedback cycle.
Is there a way to see a report of how long each test takes to complete? e.g.
test_1....2ms
test_2...25ms
...
I'm thinking of how I would (hypothetically) go about trimming down the runtime of a test suite for a faster feedback cycle.
You are looking for
cargo test -- -Zunstable-options --report-time
Also you might find the following posts of mine helpful with respect to overall feedback loop optimization:
Thank you, I've already bookmarked some of your posts for that exact reason
I originally went to the Cargo Book to find a flag exactly like --report-time
, but didn't think to look in the Unstable Book.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.