Pinecil, but an electric toothbrush. @PINE64@fosstodon.org how can this happen?
honk if you like noise
As far as I can tell Guidance for how to use a writeStream https://github.com/nodejs/node/issues/41733#issuecomment-1174800038
process.stdout
is unbuffered in #NodeJS. Bypassing with a writeStream to fd 1 is giving a substantial improvement in tests.~/d/jxxd (main)> time node index.mjs img.png > out
________________________________________________________
Executed in 35.74 secs fish external
usr time 20.24 secs 0.00 millis 20.24 secs
sys time 15.60 secs 4.85 millis 15.60 secs
~/d/jxxd (main)> time node bypass.mjs img.png > out
________________________________________________________
Executed in 12.33 secs fish external
usr time 13.09 secs 1.71 millis 13.09 secs
sys time 2.12 secs 3.81 millis 2.12 secs