-
Notifications
You must be signed in to change notification settings - Fork 202
Startup penalty vs QuickJS/node.js #301
Copy link
Copy link
Closed
Description
I'm curious about the startup performance vs QuickJS and even Node.js.
For a super dummy test logging to console I'm getting significantly longer startup times vs QuickJS and Node.js
There is curl and libuv but any idea what might be the cause for the additional latency?
It's 2x longer than node and 23x longer than QuickJS
Btw, thanks for a great library :)
Txiki
time ./tjs -e "console.log(1)"
1
./tjs -e "console.log(1)" 0.10s user 0.01s system 96% cpu 0.115 total
QuickJS
time ./qjs -e "console.log(1)"
1
./qjs -e "console.log(1)" 0.00s user 0.00s system 63% cpu 0.005 total
Node.js
time node -e "console.log(1)"
1
node -e "console.log(1)" 0.04s user 0.01s system 94% cpu 0.054 total
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels