3 ms·
It adds up. 300ms is pretty good, but that's just starting up a node process, then you get a long process of parsing and executing the script itself. Which ini
by Cthulhu_ 5y ago
It adds up. 300ms is pretty good, but that's just starting up a node process, then you get a long process of parsing and executing the script itself.
Which initially is not too bad, but the bigger the codebase gets and the more often you run it, it adds up. 300ms per invocation is something that a lot of CI providers would love to save.
Relevant XKCD: https://xkcd.com/1205/ https://xkcd.com/1205/
- bin_bash 5y agoThat doesn't apply here: all these scripts do is shell out to some other binary. Any performance cost of using node or other binary is going to be exactly the same. It's 200-300ms regardless of what the underlying script does.