Open vjpr opened 2 years ago
@vjpr if you still need env-cmd try muchobien/env-cmd is built with go so is much faster
@vjpr if you still need env-cmd try muchobien/env-cmd is built with go so is much faster
It's incomplete. Doesn't support all of the options that this library does. See: https://github.com/muchobien/env-cmd/issues/18
On the latest M1 Mac:
320ms is a lot.
a. slim down
I wonder if it can be slimmed down? A simple Node invocation takes 40ms for comparison.
The following script replicates the behavior of
env-cmd
and weighs 73ms which seems like the theoretical minimum startup time.b. use rust Another option is migrating to Rust I guess if the logic is too heavy. E.g. This project replaces
npm
with a Rust version -> https://github.com/egoist/dum