Paste a test report to see the slowest tests, the median against the mean, and whether a handful of tests set your suite's wall-clock time.
Waiting for a test report
JUnit XML, TAP, or a Jest, Vitest, Playwright or Cypress JSON report.
The median and the mean are both shown because they disagree on purpose. Two thousand 3ms unit tests beside eight 20-second browser tests give a median of 3ms and a much larger mean — and the gap between them is the finding, not either number alone.
Paste a report to see where the suite’s time goes.
These are the durations the report recorded, which include each test’s own setup and teardown but not the suite-level work between tests. A suite whose tests add up to far less than its reported wall-clock time is spending that difference on fixtures, compilation or starting a browser — none of which appears here.
Test Duration Analyzer runs entirely on your device — the report is parsed in your browser and no part of it is uploaded.
You’re on the Free plan. Compare plans
A suite that takes eleven minutes gets run less often than one that takes two, and the usual response — make the tests faster — is frequently the wrong move. Whether it is worth anything at all depends on how the time is distributed, and that is what this measures.
The median and the mean are both reported, and they disagree on purpose. Two thousand 3ms unit tests beside eight 20-second browser tests give a median of 3ms and a mean many times larger. Reading only the mean suggests every test is slow; reading only the median suggests none are. The gap between them is the finding.
The number that decides what to do is concentration: the share of total runtime held by the slowest tenth of tests. High, and a handful of tests set the wall-clock time, so making those faster is worth an afternoon. Low, and the time is spread evenly — no individual test can be optimised to help, and the answer is parallelism or fewer tests.
Because they answer different questions and usually disagree. A suite of fast unit tests with a few slow browser tests has a tiny median and a much larger mean. The median tells you what a typical test costs; the mean tells you what the average costs including the outliers; the gap between them tells you the suite is bimodal, which is the thing worth knowing.
The share of the suite's total runtime held by its slowest tenth of tests. Above about half, a few tests dominate and making them faster shortens the whole run. Below that, the time is spread evenly and no single optimisation will help much — you need parallelism, or fewer tests.
The tool says so and analyses nothing. TAP carries no durations unless a reporter adds them, and some JUnit writers omit the time attribute. Untimed cases are counted separately rather than treated as instant, because averaging a missing duration as zero would make every suite look faster than it is.
Usually not, and the difference is informative. A recorded duration covers each test's own setup and teardown but not the suite-level work between them — fixtures, compilation, starting a browser. A suite whose tests add up to far less than its reported total is spending that difference on things no per-test figure shows.
No. It is parsed in your browser and never sent anywhere.
If a tool here saved you some time, you can put something towards the hosting.Buy me a coffee, on Ko-fi, opens in a new tab