Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Comparing Node.js and Python Performance with the Official OpenAI Client
(opens in new tab)
(russell.ballestrini.net)
1 points
foxhop
2y ago
4 comments
Save
Share
4 comments
3 comments · 1 top-level
top
newest
oldest
foxhop
OP
2y ago
· 2 in thread
I conducted a performance comparison between Node.js and Python using the official OpenAI client, and the results were quite revealing. Node.js outperformes Python in this specific use case.
stefanos82
2y ago
Can you re-run your tests with `node --jitless` flag please? It should be a fair comparison.
foxhop
OP
2y ago
to keep the CPU in healthy thresholds I lowered the concurrency to 100.
real 0m22.188s user 0m14.702s sys 0m0.449s
It's still a lot faster but less so, could you explain why I would want to run --jitless in production?
1 more reply
j
/
k
navigate · click thread line to collapse