Topic: https://russell.ballestrini.net/comparing-nodejs-and-python-performance-with-openai-client/
hide preview

What's next? verify your email address for reply notifications!

russell 1y, 200d ago [edited]

stefanos82

Can you re-run your tests with node --jitless flag please? It should be a fair comparison.

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, 5x instead of 10x

could you explain why I would want to run --jitless in production?

stefanos82

I did not ask the comparison with production in mind, but to make things fair between one runtime that executes with JIT by default versus the CPython that does not yet, but we are getting there!

hide preview

What's next? verify your email address for reply notifications!