Title: Python's JIT Compiler: What's New in Python 3.15 – Real Python
Open Graph Title: Python's JIT Compiler: What's New in Python 3.15 – Real Python
Description: Learn how the upgraded Python 3.15 JIT compiler speeds up your code with a new tracing frontend, register allocation, and in-place numeric operations.
Open Graph Description: Learn how the upgraded Python 3.15 JIT compiler speeds up your code with a new tracing frontend, register allocation, and in-place numeric operations.
Mail addresses
?subject=Python article for you&body=Python's JIT Compiler: What's New in Python 3.15 on Real Python
https://realpython.com/python315-jit-compiler/
Opengraph URL: https://realpython.com/python315-jit-compiler/
X: @realpython
Domain: realpython.com
{
"@context": "http://schema.org",
"@type": "Article",
"headline": "Python's JIT Compiler: What's New in Python 3.15",
"image": {
"@type": "ImageObject",
"url": "https://files.realpython.com/media/Python-3.15-Preview-Upgraded-JIT-Compiler_Watermarked.aa50af2d65f4.jpg",
"width": 1920,
"height": 1080
},
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://realpython.com/python315-jit-compiler/",
"lastReviewed": "2026-10-12",
"author": {
"@type": "Person",
"name": "Leodanis Pozo Ramos",
"image": "https://realpython.com/cdn-cgi/image/width=862,height=862,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/Perfil_final1.9f896bc212f6.jpg",
"url": "https://realpython.com/team/lpozoramos/",
"affiliation": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
}
},
"reviewedBy": [
{
"@type": "Person",
"name": "Aldren Santos",
"image": "https://realpython.com/cdn-cgi/image/width=500,height=500,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/Aldren_Santos_Real_Python.6b0861d8b841.png",
"url": "https://realpython.com/team/asantos/",
"affiliation": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
}
},
{
"@type": "Person",
"name": "Brenda Weleschuk",
"image": "https://realpython.com/cdn-cgi/image/width=320,height=320,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/IMG_3324_1.50b309355fc1.jpg",
"url": "https://realpython.com/team/bweleschuk/",
"affiliation": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
}
},
{
"@type": "Person",
"name": "Bartosz Zaczy\u0144ski",
"image": "https://realpython.com/cdn-cgi/image/width=1694,height=1694,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/coders_lab_2109368.259b1599fbee.jpg",
"url": "https://realpython.com/team/bzaczynski/",
"affiliation": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
}
}
]
},
"datePublished": "2026-07-01T14:00:00+00:00",
"dateModified": "2026-10-12T08:15:29.248460+00:00",
"publisher": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": {
"@type": "ImageObject",
"url": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png",
"width": 512,
"height": 512
},
"description": "Real Python is a leading provider of online Python education and one of the largest language-specific online communities for software developers. It publishes high-quality learning resources, such as tutorials, books, and courses to an audience of millions of developers, data scientists, and machine learning engineers each month.",
"slogan": "Become a Python Expert",
"email": "info@realpython.com",
"sameAs": [
"https://github.com/realpython",
"https://www.youtube.com/realpython",
"https://twitter.com/realpython",
"https://x.com/realpython",
"https://www.linkedin.com/company/realpython-com/",
"https://www.facebook.com/learnrealpython",
"https://www.instagram.com/realpython",
"https://www.tiktok.com/@realpython.com"
]
},
"author": {
"@type": "Person",
"name": "Leodanis Pozo Ramos",
"image": "https://realpython.com/cdn-cgi/image/width=862,height=862,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/Perfil_final1.9f896bc212f6.jpg",
"url": "https://realpython.com/team/lpozoramos/",
"affiliation": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
}
},
"description": "Learn how the upgraded Python 3.15 JIT compiler speeds up your code with a new tracing frontend, register allocation, and in-place numeric operations.",
"hasPart": {
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "How do I enable the JIT in Python 3.15?",
"acceptedAnswer": {
"@type": "Answer",
"text": "\u003cp\u003eSet the \u003ccode\u003ePYTHON_JIT=1\u003c/code\u003e environment variable when running a JIT-capable build. The python.org installers ship with the JIT compiled in on Windows and macOS, while Linux builds need the \u003ccode\u003e--enable-experimental-jit=yes-off\u003c/code\u003e configure flag.\u003c/p\u003e"
}
},
{
"@type": "Question",
"name": "Is the Python 3.15 JIT compiler enabled by default?",
"acceptedAnswer": {
"@type": "Answer",
"text": "\u003cp\u003eNo. The JIT is still flagged experimental and stays off unless you opt in with \u003ccode\u003ePYTHON_JIT=1\u003c/code\u003e. The flag may change once the JIT stabilizes in a future release.\u003c/p\u003e"
}
},
{
"@type": "Question",
"name": "How much faster is Python 3.15 with the JIT enabled?",
"acceptedAnswer": {
"@type": "Answer",
"text": "\u003cp\u003eThe official \u003ccode\u003epyperformance\u003c/code\u003e suite reports a 7\u0026ndash;8 percent geometric mean speedup on x86-64 Linux and 11\u0026ndash;12 percent on AArch64 macOS. Tight numeric loops can see much larger gains, while I/O-bound code sees almost none.\u003c/p\u003e"
}
},
{
"@type": "Question",
"name": "Will the Python 3.15 JIT make my Django or Flask app faster?",
"acceptedAnswer": {
"@type": "Answer",
"text": "\u003cp\u003eProbably only marginally. Web request handlers spend most of their time waiting on the database, the network, or the template engine, so the JIT\u0026rsquo;s gains on inner Python loops don\u0026rsquo;t move the overall response time much.\u003c/p\u003e"
}
},
{
"@type": "Question",
"name": "Does the JIT work with free-threaded (no-GIL) Python builds?",
"acceptedAnswer": {
"@type": "Answer",
"text": "\u003cp\u003eThe JIT and \u003ca href=\"https://realpython.com/python313-free-threading-jit/\"\u003efree threading\u003c/a\u003e are independent build options that can be combined, but their combined performance is still in its early days. Check the build flags on your installation to confirm which features are active.\u003c/p\u003e"
}
}
]
}
}
| author | Real Python |
| theme-color | #18354c |
| color-scheme | light dark |
| twitter:card | summary_large_image |
| twitter:image | https://files.realpython.com/media/Python-3.15-Preview-Upgraded-JIT-Compiler_Watermarked.aa50af2d65f4.jpg |
| og:image | https://files.realpython.com/media/Python-3.15-Preview-Upgraded-JIT-Compiler_Watermarked.aa50af2d65f4.jpg |
| twitter:creator | @realpython |
| og:type | article |
| og:site_name | Real Python |
| apple-mobile-web-app-title | Real Python |
Links:
Viewport: width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover
Robots: max-image-preview:large