My editor is executing elm-format a lot. It looks like binwrap is slowing down execution. Same effect with npm only. I think we need more comparisons on other systems and if binwrap is the cause we should look into something like the elm "no-deps" installer, which is using npm but looks like it isn't slowing execution down on my machine.
https://github.com/elm/compiler/tree/master/installers/npm
450ms vs 80ms
which -a elm-format
/tmp/fnm-shell-3625665/bin/elm-format
/home/as/bin/elm-format
time /tmp/fnm-shell-3625665/bin/elm-format src/Main.elm --yes
Processing file src/Main.elm
0.48user 0.04system 0:00.45elapsed 114%CPU (0avgtext+0avgdata 52876maxresident)k
0inputs+0outputs (0major+9793minor)pagefaults 0swaps
time /home/as/bin/elm-format src/Main.elm --yes
Processing file src/Main.elm
0.07user 0.00system 0:00.08elapsed 89%CPU (0avgtext+0avgdata 14856maxresident)k
0inputs+0outputs (0major+1608minor)pagefaults 0swaps
My editor is executing
elm-formata lot. It looks likebinwrapis slowing down execution. Same effect withnpmonly. I think we need more comparisons on other systems and ifbinwrapis the cause we should look into something like the elm "no-deps" installer, which is usingnpmbut looks like it isn't slowing execution down on my machine.https://github.com/elm/compiler/tree/master/installers/npm
450ms vs 80ms