# Python 3.15, JIT 덕에 20% 빨라졌다

Original title: How Fast is Python 3.15?

> Hacker News story 49984652 · language: ko · submitted 2026-10-06
> Web version: https://zeli.app/ko/story/49984652
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 71 · by [Qem](<https://news.ycombinator.com/user?id=Qem>) · 💬 54
[original](<https://blog.miguelgrinberg.com/post/how-fast-is-python-3-15>) · [HN discussion](<https://news.ycombinator.com/item?id=49984652>)

## Summary

Python 3.15는 표준 인터프리터에서 3.14보다 소폭 빠른 수준이지만, JIT 버전은 재귀 피보나치 계산에서 1.20배, 버블 정렬에서 1.28배 성능 향상을 보였다. 이는 이전 버전에서는 없던 일로, JIT가 표준 인터프리터보다 빨라진 첫 사례다. 한편 free-threading 버전은 단일 스레드 테스트에서 표준과 비슷한 성능을 유지했지만, 멀티스레드에서는 GIL의 한계를 드러냈다. PyPy는 여전히 CPython보다 5배 이상 빠르며, Rust는 77배 빠른 성능을 보였다.

## Key quote

> 정말로 가장 흥미로운 점은 3.15 인터프리터의 JIT가 같은 테스트에서 표준 인터프리터보다 빨랐다는 것이다. 이는 이전 해에는 없던 일이었다. 그리고 1.20배의 속도 향상은 무시할 수 없는 수치로, 매우 흥미로운 결과다!

## HN discussion (54 comments)

### [scosman](<https://news.ycombinator.com/item?id=49987459>)

> 약간 곁가지 얘기지만, PyPI가 이미 자리 잡은 상황에서 PyPy라는 이름을 붙인 건 정말 터무니없었다

### [dezsiszabi](<https://news.ycombinator.com/item?id=49987900>)

> 답: 전혀 빠르지 않다.

### [makaimc](<https://news.ycombinator.com/item?id=49985709>)

> Python이 처음 공개된 지 35년이 지났는데도 성능 개선의 여지가 여전히 너무나 많다. Miguel의 이 테스트들은 3.15에서의 그 진전을 확인하는 유용한 빠른 점검이 된다. 비록 그가 인정하듯 "프로그래밍 언어의 성능에 대한 객관적이고 보편적인 척도"를 얻는 건 불가능하더라도 말이다.

### [DroneBetter](<https://news.ycombinator.com/item?id=49986839>)

> 피보나치 함수에 제곱에 의한 거듭제곱을 쓴 더 빠른 버전을 포함해야 한다
>
> def fibonacci(k):
>
> a,b=(0,1)
>
> for i in range(k.bit_length()-1,-1,-1):
>
> d=a**2
>
> c=2*a*b-d
>
> d+=b**2
>
> (a,b)=(d,c+d) if k>>i&1 else (c,d)
>
> return a
>
> 자세한 내용은 https://oeis.org/wiki/User:Natalia_L._Skirrow/linear_recurre... (경고: 오래되고 질이 떨어지며 수정이 필요함), https://github.com/sympy/sympy/pull/30452, https://github.com/sympy/sympy/pull/30541 를 참고하면 임의의 선형 점화 수열에 대해 비슷하게 빠른 프로그램을 만드는 방법을 알 수 있다.
>
> 다항식을 정수로 인코딩할 수도 있다; https://mathstodon.xyz/@peterluschny/116320199782572958 와 https://codegolf.stackexchange.com/a/279771 의 다음 프로그램을 보라
>
> lambda n:pow(p:=2<<n,n,p*p+~p)//p
>
> 이 둘 모두 제어 흐름보다는 산술 쪽에 더 부담을 줄 것이다
>
> 또한 적어도 기존 것을 `functools.cache`로 감쌀 수는 있을 것이다

### [klooney](<https://news.ycombinator.com/item?id=49987575>)

> PyPy는 죽었다고 생각했었는데, 3.12까지 해냈다니 다행이다

---

## Cite

- Page: https://zeli.app/ko/story/49984652
- Date: 2026-10-06
- Source: blog.miguelgrinberg.com (https://blog.miguelgrinberg.com/post/how-fast-is-python-3-15)
- Hacker News: https://news.ycombinator.com/item?id=49984652

## Other languages

- en: https://zeli.app/story/49984652 · markdown: https://zeli.app/story/49984652.md
- zh: https://zeli.app/zh/story/49984652 · markdown: https://zeli.app/zh/story/49984652.md
- ja: https://zeli.app/ja/story/49984652 · markdown: https://zeli.app/ja/story/49984652.md
- de: https://zeli.app/de/story/49984652 · markdown: https://zeli.app/de/story/49984652.md
- es: https://zeli.app/es/story/49984652 · markdown: https://zeli.app/es/story/49984652.md
- ru: https://zeli.app/ru/story/49984652 · markdown: https://zeli.app/ru/story/49984652.md
