This repository has been archived by the owner on Aug 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 86
Use async fs instead of fs.*Sync calls #147
Comments
Hello, I refactored this package with no sync methods. How I can bench refactored plugin? |
Closed
Can be closed if PR will be merged. |
A simple way of benchmarking is to run Rollup with the --perf option. Rollup's repo also has a script to automatically bundle a package several times and calculate averages. To do so, you would check out the main Rollup repo and run |
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
0x, a cool tool by @davidmarkclements shows, that (for my build)
fs.realpathSync
calls block the running for 15% of the total time.The text was updated successfully, but these errors were encountered: