# Turbopack이 정말 Vite 보다 10배 빠른가요?

> Clean Markdown view of GeekNews topic #7711. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=7711](https://news.hada.io/topic?id=7711)
- GeekNews Markdown: [https://news.hada.io/topic/7711.md](https://news.hada.io/topic/7711.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2022-11-02T11:07:43+09:00
- Updated: 2022-11-02T11:07:43+09:00
- Original source: [github.com/yyx990803](https://github.com/yyx990803/vite-vs-next-turbo-hmr/discussions/8)
- Points: 10
- Comments: 3

## Topic Body

- Vue.js/Vite 개발자 Evan You의 글  
- Turbopack을 공개하면서 "Vite보다 10배 빠름"을 강조하고 많은 곳에서 사용되었음   
  - Next 13 + Turbopack 이 React HMR을 0.01초 걸린데 반해, Vite는 0.09초 걸렸다는 벤치마크   
  - 다른 성능에서는 10배 빠른 것은 없고 오직 HMR에서만 그렇게 나옴  
- Vercel이 처음엔 실제 HMR 벤치마크 자료를 첨부하지 않아서 직접 Next 13과 Vite 3.2를 비교해 봤음 (코드와 방법 모두 공개)  
  - 실제 비교결과는 Next HMR이 2배 정도 빠르게 나옴  
  - 하지만 이건 Vite가 Babel을 이용하기 때문에 약간 다르게 나올수 있음   
  - 똑같이 Rust로 코딩된 SWC를 이용하면 속도가 거의 비슷하게 나옴  
(Vite가 SWC를 사용하지 않은 것은 SWC의 크기 문제 때문. Vite가 19MB인데, SWC가 58MB)  
  - 흥미로운 것은 임포트 하는 컴포넌트가 많아지면 Next/Turbo는 4배 느려지는데 반해 Vite는 2.4배만 느려짐   
- 에반이 벤치마크를 공개하고 나서, Vercel도 블로그에 벤치마크 방법을 공개   
  - 결과적으로 Turbopack이 10배 빠르려면, SWC를 사용하지 않아야 하고, 30k가 넘는 모듈을 포함해야 하며, 핫업데이트된 모듈이 평가되는 시간만 측정해야 그렇게 나온다는 것

## Comments



### Comment 13008

- Author: bichi
- Created: 2022-11-02T21:38:42+09:00
- Points: 1

nextjs 가 nextjs 했네영

### Comment 12979

- Author: xguru
- Created: 2022-11-02T11:09:09+09:00
- Points: 1

[Turbopack: rust로 작성된 webpack의 후계자](https://news.hada.io/topic?id=7664)

### Comment 12978

- Author: xguru
- Created: 2022-11-02T11:09:00+09:00
- Points: 1

벤치마크에 "누구보다 얼마 빠름" 적을 때는 애초에 평가 방법과 데이터를 자세히 공개해야..
