Add a flag to jstest harness to print test times

NEW
Unassigned

Status

()

Core
JavaScript Engine
6 years ago
4 years ago

People

(Reporter: terrence, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
It would be very handy to have a mode that would, after completion, print out all tests and the time they took, sorted by time.  This would make it easy to identify performance regressions and specific tests that take a disproportionate amount of our test time.
(In reply to Terrence Cole [:terrence] from comment #0)
> It would be very handy to have a mode that would, after completion, print
> out all tests and the time they took, sorted by time.  This would make it
> easy to identify performance regressions and specific tests that take a
> disproportionate amount of our test time.

Totally. In fact, the other day I was surprised to find it didn't already have that feature. By the way, I've also for a long time had on my to-do list something about adding a mode to make it easy to identify slow tests that aren't marked as slow. So it would be cool if you could just directly incorporate that too.
(Assignee)

Updated

4 years ago
Assignee: general → nobody
You need to log in before you can comment on or make changes to this bug.