Replies: 1 comment 3 replies
-
@sparrowt this should be easy enough to accomplish yourself.
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
--durations
is useful but in a suite with thousands of tests it is just showing me some tests which I know are slow and there's not much I can do about them.What I would like to know is which "groupings" of tests are together contributing the most to our total duration:
For example currently I see this
but what would be more useful is something like this:
which tells me that, together, all the tests in
test_qux_quizzles.py
are actually the worst offender for slow times (even though many of them may not even make it into the top N slowest) - so if I can speed up something which all those tests do then this would be a better use of my time than trying to shave little bits off the slowest individual testtest_foo.py:test_abc
.I could probably get the data for this from
--durations 0
and then parsing the full set of results in some other script but that would be yuck.Is there already a way of doing so? If not then this is a 'feature suggestion' I guess!
Beta Was this translation helpful? Give feedback.
All reactions