4 ms·
Turbocharging Python with Command Line Tools
- jlongr 8y agoIn the first example, the JIT version takes 0.218s and the non-JIT version takes 0.0007s. Isn't the JIT version supposed to be faster?
- jjuel 8y agoYeah that is interesting. I hadn't noticed on my first read through. He was absolutely touting the benefits of JIT with a claim "In some cases a JIT version could make code run thousands of times faster, but benchmarking is key." I guess this benchmark shows that it is quite a bit slower in this particular case.
- falsedan 8y agoIsn’t all the performance improvements by JIT completely swamped by the abysmal startup cost of the python executable?