Commit f5edf1c
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 2bde683 commit f5edf1c
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 | | |
| |||
1846 | 1847 | | |
1847 | 1848 | | |
1848 | 1849 | | |
1849 | | - | |
| 1850 | + | |
1850 | 1851 | | |
1851 | 1852 | | |
1852 | 1853 | | |
| |||
0 commit comments