3 ms·
Python can be faster than nodejs in many (but far from all) cases. It depends a lot on the workloads and environment. No general benchmark will tell the whole s
by 3np 5y ago
Python can be faster than nodejs in many (but far from all) cases. It depends a lot on the workloads and environment. No general benchmark will tell the whole story.
Here Python came out on top:
https://scribe.rip/filia-aleks/aws-lambda-battle-2021-performance-comparison-for-all-languages-c1b441005fd1 https://scribe.rip/filia-aleks/aws-lambda-battle-2021-perfor...
https://scribe.rip/ville-karkkainen/python-is-slow-wait-its-actually-fast-6d2e49621b1 https://scribe.rip/ville-karkkainen/python-is-slow-wait-its-...
- winrid 5y agoIn our case they were long lived lamdas consuming from a queue, so a JIT and good memory management mattered more.