Remix.run Logo
johnfn 9 hours ago

Vite 8 is pretty incredible. We saw around an 8x improvement (4m -> 30s) in our prod build, and it was nearly a drop-in replacement. Congrats (and thank you!) to the Vite team!

FrostKiwi 6 hours ago | parent | next [-]

Same here (10s to 1s). The main reason for this is rolldown [1]. Already had it installed months ago, before it got merged into vite proper. Really awesome stuff.

[1] https://rolldown.rs/

Griffinsauce 7 hours ago | parent | prev | next [-]

4 minutes?! How large is that app?

Not meant as a gotcha but I'm surprised because people always tout it as being so much faster than Next. (4m with Turbo would have to be a crazy huge app IME)

rk06 6 hours ago | parent | next [-]

most likely they are not running the prod build on latest mac. so it is slower.

dschu 5 hours ago | parent | prev [-]

Yeah, 4 mins is currently the avg. build time for our TanStack app dockerized. The turbo part takes 30 sec with Vite 7

bengale 6 hours ago | parent | prev [-]

We saw 12m -> 2m on one of our biggest projects. Incredible really.

christophilus 5 hours ago | parent [-]

It blows my mind that there is a 12m build for a JavaScript application. How may lines of code is this app?

bengale 4 hours ago | parent | next [-]

Seems to be around 1 million. It's chunky and it's probably not well optimised for the build to be honest, but it was only starting to creep up the priority list as it crossed the 10m mark.

This is also the length on our CI which is running on some POS build machine. Locally it's far faster, but with Vite 8 its crazy fast.

pestatije 4 hours ago | parent | prev [-]

My banking site takes 10 seconds to LOAD...I hate thinking how long it must take them to compile it