News for hackers. Stuff that matters.
Re:Show HN: We built a FOSS documentation CMS with a pretty GUI by asynchronous on Thursday September 05, 2024 @02:50PM (#41459434)
Using Rust for markdown parsing seems like the epitome of driving a racecar to the grocery store- I’m curious if you have any metrics as to how much build time was reduced with that over using something like Node. I’d guess it’s <10ms.
Re:Show HN: We built a FOSS documentation CMS with a pretty GUI by arch1e on Thursday September 05, 2024 @03:08PM (#41459564)
We saw nearly the same reduction in build times (~80-90%) as quoted in the official RsPress documentation. Keep in mind, we're using MDX, not just plain Markdown.

Source: https://rspress.dev/guide/start/introduction#build-performan...

Re:Show HN: We built a FOSS documentation CMS with a pretty GUI by liambigelow on Friday September 06, 2024 @05:46AM (#41464538)
There can be more of a difference than you might expect. In static site generators, Eleventy is about as fast as you can get in the JavaScript world, and is still 2-3x the time for Hugo in Go [1]. A couple orders of magnitude more than <10ms in this test which is predominantly markdown parsing.

Anecdotally, for large or extra large sites, the build performance gap between even Eleventy and Hugo can be quite large. And the gap from either of those to the newer JavaScript tools like Next.js is enormous.

1: https://www.11ty.dev/docs/performance/#build-performance