> And this is a bit disappointing. At least for this test, the JIT interpreter did not produce any significant performance gains, so much that I had to double and triple check that I used a correctly built interpreter with this feature enabled. I do not know much about the internals of the new JIT compiler, but I'm wondering if it cannot deal with this heavily recursive function. FWIW one thing that is worth calling out here is that the initial goal for JIT right now in Python is getting it relatively stable, functional, and more or less getting the initial implementation out there. It's not surprising at all that it's not faster.

I say this because I think the teams working on free-threaded and JIT python maybe could have done a better job publicly setting expectations.

I mean, Guido had a 2021 Faster CPython presentation where they claimed "5x in 4 years (1.5x per year)"[0]. Developers have significantly walked back those expectations since then.

[0] Github slide deck https://github.com/faster-cpython/ideas/blob/main/FasterCPyt...

One important caveat to remember is that this is before a lot of the work on free-threaded python started in full force. A lot of cutting edge work had to be done to support this in the GC but this came with performance penalties. As a result, the trajectory of the Faster CPython effort changed quite a bit.

Didn't help Microsoft axed several folks on that team too...

> Didn't help Microsoft axed several folks on that team too...

Only after the four-year period was over, during which they only delivered a 1.5x - 2x speedup instead of the projected 5x.

Sure, reality is a harsh mistress, but those were really optimistic targets which were used to frame a lot of the development efforts.