(ms)
| 2068 | } |
| 2069 | |
| 2070 | function sleep(ms) { |
| 2071 | if (activeTiming) { |
| 2072 | activeTiming.sleepMs += ms; |
| 2073 | } |
| 2074 | return new Promise((resolve) => setTimeout(resolve, ms)); |
| 2075 | } |
| 2076 | |
| 2077 | function printTimingSummary() { |
| 2078 | if (stepTimings.length === 0) { |
no outgoing calls