When profiling duo to try and optimize it, it came up that the statSync call used by File#modified() was causing a slowdown. (sync methods block the event loop, so it was interfering with other async stuff indirectly by blocking the parallelism)
This is based on #472 since I used it to detect other usages of sync methods. To make it easier to see the exact change here, just view b9aa463.
When profiling duo to try and optimize it, it came up that the
statSync
call used byFile#modified()
was causing a slowdown. (sync methods block the event loop, so it was interfering with other async stuff indirectly by blocking the parallelism)This is based on #472 since I used it to detect other usages of sync methods. To make it easier to see the exact change here, just view b9aa463.