Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update astro to v1 #9

Merged
merged 1 commit into from Aug 10, 2022
Merged

update astro to v1 #9

merged 1 commit into from Aug 10, 2022

Conversation

FredKSchott
Copy link
Contributor

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.

@zachleat zachleat merged commit 3ba2c99 into zachleat:main Aug 10, 2022
@zachleat
Copy link
Owner

Awesome, thanks! I’ll re-run with the same hardware and leave an update here when the blog post is updated

@zachleat
Copy link
Owner

@FredKSchott
Copy link
Contributor Author

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.

@FredKSchott FredKSchott deleted the astro-v1 branch August 10, 2022 15:45
@FredKSchott
Copy link
Contributor Author

FredKSchott commented Aug 10, 2022

@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?

@zachleat
Copy link
Owner

Yeah, this is just using defaults—I think that makes the most sense for the context that most projects will operate in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants