-
-
Save rosszurowski/1b7971ab2eaf150c5039f3f7ef5e76a0 to your computer and use it in GitHub Desktop.
A comparison of how long it takes to run a simple `echo` script in npm, yarn, and make.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ time npm run echo | |
> rosszurowski.com@1.0.0 e | |
> echo 'hi' | |
hi | |
________________________________________________________ | |
Executed in 157.78 millis fish external | |
usr time 133.42 millis 33.00 micros 133.38 millis | |
sys time 29.20 millis 826.00 micros 28.38 millis | |
$ time yarn echo | |
yarn run v1.22.19 | |
$ echo 'hi' | |
hi | |
✨ Done in 0.03s. | |
________________________________________________________ | |
Executed in 126.10 millis fish external | |
usr time 93.03 millis 0.05 millis 92.98 millis | |
sys time 31.17 millis 1.18 millis 29.99 millis | |
$ time make echo | |
hi | |
________________________________________________________ | |
Executed in 9.62 millis fish external | |
usr time 3.09 millis 30.00 micros 3.06 millis | |
sys time 4.01 millis 610.00 micros 3.40 millis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment