Hacker News new | ask | show | jobs
by pansa2 2071 days ago
> Shows you why your code is slow!

Because you wrote it in Python.

Seriously, Python is probably the slowest mainstream language of all. If you’re building something where performance matters, you should be using a different language.

4 comments

> Because you wrote it in Python.

Sure, so if I want to shave startup/a slow action from 200ms to 100ms in a non-performance-critical tool, I shouldn't use a profiler, I should rewrite the whole damn thing in Go?

Can we stop these low information, canned responses already.

> If you’re building something where performance matters, you should be using a different language.

And the python ecosystem understands this, with those performance critical bits being implemented in C/fortran/whatever, not pure python.

_Ruby enters the room_
So you don't make bad performance choices in C?