4 ms·
Other than a 60ms startup differential Ruby doesn't sacrifice ANY speed compared with Python. Those days are over.
by cutler 3y ago
Other than a 60ms startup differential Ruby doesn't sacrifice ANY speed compared with Python. Those days are over.
- bo-tato 3y agoIf you're just using it for quick scripting, which is where startup time mostly matters, and you only use the stdlib and no external gems, you can use --disable-gems and it starts in half the time as python for me.
- cutler 3y agoHey, you're right. Down from 100ms to 30ms which is 10ms faster than Python. So it's game over for Python, not Ruby, after all ;-)
- KerrAvon 3y agoHas Python launch time gotten faster? It used to take a second to start up, where Ruby would be instant on the same machine.
- kaba0 3y agoWell, both are quite slow for what it’s worth, compared to most other programming languages. Which is still plenty fast for CRUD web applications even at large scales, don’t get me wrong, I’m just pointing out that JS for example often has a 10x multiplier between it and Ruby/Python.