| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent bac70c6 commit ffeebeb
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -77,7 +77,7 @@ if (process.argv[2] === 'child') { | |||
| 77 | 77 | // When not tracking Worker threads, only 1 or 2 ticks would | |
| 78 | 78 | // have been recorded. | |
| 79 | 79 | // prof_sampling_interval is by default 1 millisecond. A higher SPIN_MS | |
| 80 | - // should result in more ticks, while 15 should be safe on most machines. | ||
| 81 | - assert(workerTicks.length > 15, `worker ticks <= 15:\n${workerTicks.join('\n')}`); | ||
| 82 | - assert(parentTicks.length > 15, `parent ticks <= 15:\n${parentTicks.join('\n')}`); | ||
| 80 | + // should result in more ticks, while 10 should be safe on most machines. | ||
| 81 | + assert(workerTicks.length > 10, `worker ticks <= 10:\n${workerTicks.join('\n')}`); | ||
| 82 | + assert(parentTicks.length > 10, `parent ticks <= 10:\n${parentTicks.join('\n')}`); | ||
| 83 | 83 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments