Likely more to come there, this feature is brand new! I re-ran the tests but the data for Astro didn’t change in a statistically significant way (yet?).
#Jekyll install theme code#
File-based routing of markdown files in both Next.js and Remix is a bit slow! Take care to add the additional boilerplate routing code needed to load markdown files more efficiently.Heavier pages aren’t exclusively slower for end users-they’re slower for developers too. Generators that create per-page JavaScript bundles (for single page apps, primarily) are usually slower to build, unsurprisingly.Eleventy was the fastest JavaScript-based generator.Hugo remains the undisputed speed champ-no question about that.
![jekyll install theme jekyll install theme](https://jermware.net/images/2020-04-15-installing-1.png)
Updated Augwith notes about file-based routing of markdown in Remix and Next.js, as well as Astro MDX. I have not yet added tests for Jekyll or Nuxt but I’m open to it! Summary # Markdown samples borrowed from Sean C Davis’s SSG Build Performance Comparison repository. 1000 files was considered a Large project by 58.8% of voters, Medium for 36.8% of voters. I put out a Twitter poll to gauge how folks felt about project sizes. For Remix I went through the Blog tutorial but did not use a database.For Next.js I deleted a bunch of things out of the blog-starter example linked from the docs on Static Generation.For Hugo, I went through the Quickstart (skipping the theme).For Gatsby, I used npm init gatsby with Markdown support (not MDX).For Eleventy I used eleventy-base-blog, even though it has a few extra plugins and templates in play on top of the barebones core experience.Updated AugResults were updated to Astro 1.0.1 after stable release! For Astro I used the Blog example which uses a pre-release of Astro 1.0.Output folders and framework specific cache folders were deleted before each run. I opt-ed out of TypeScript when options were presented in various cli tools to do so.
#Jekyll install theme generator#
Test Notes #įor each generator sample I attempted to create a reduced project with the sole use case of processing markdown files.
![jekyll install theme jekyll install theme](https://i.stack.imgur.com/tTWbk.png)
This result set was generated on a MacBook Air (M1, 2020), macOS Monterey 12.5, 16 GB memory.Īll of the code for this benchmark is fully open source and welcomes review.
![jekyll install theme jekyll install theme](https://mademistakes.com/static/4b7d6a15f1b4ba25cbc8ce68e163b8eb/a85ee/jekyll-themes-feature.jpg)
One could argue that this is the fastest way but also simultaneously irrelevant to this benchmark! Make sure you read the Remix addendum below.Įach run was repeated 3 times and the lowest/fastest time was selected. Updated August 3, 2022: Perhaps controversially, the Remix (JS routing) method is excluded from the chart because it does not perform any processing of markdown.