Closed FredKSchott closed 2 years ago
Awesome, thanks! I’ll re-run with the same hardware and leave an update here when the blog post is updated
Nice! Thanks for the quick update.
The rest of the slowdown seems to get exponentially worse as the project grows, which makes me think its our internal Vite bundler having to treat each page as a new entrypoint in a larger-and-larger graph. I think that's where we'll focus next.
@zachleat curious: how much memory are you giving Node on the hardware you're running this on? Have you tried running with something like NODE_OPTIONS=--max-old-space-size=4096
or just using the Node defaults?
Yeah, this is just using defaults—I think that makes the most sense for the context that most projects will operate in.
Like the title says, this bumps the Astro templates to v1.0.1 to get the latest and greatest speed improvements by @bholmesdev.
I also updated the
astro-with-mdx
benchmark, but since this is a test of.md
files and not.mdx
files I don't think that benchmark is really testing anything, aka the two benchmarks are basically identical and you should be safe to remove one.