Commit b3e7a60
committed
tools: reduce test runner timing overhead
RunProcess sleeps after polling even when the child has already exited.
Skip that sleep, saving up to 100 ms per test.
Sort --time results in descending order to display the 20 slowest tests.
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
Assisted-by: Codex
PR-URL: #65980
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: LiviaMedeiros <livia@cirno.name>1 parent 8ab3c4d commit b3e7a60
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
748 | 749 | | |
749 | 750 | | |
750 | 751 | | |
| |||
1849 | 1850 | | |
1850 | 1851 | | |
1851 | 1852 | | |
1852 | | - | |
| 1853 | + | |
1853 | 1854 | | |
1854 | 1855 | | |
1855 | 1856 | | |
| |||
0 commit comments