zachleat / bench-framework-markdown Goto Github PK
View Code? Open in Web Editor NEWA set of scripts to test markdown processing speeds in various site generators/frameworks
A set of scripts to test markdown processing speeds in various site generators/frameworks
It looks like your machine is not configured properly. Here's my test run on a MacBook Pro 16" 2019 2.4 GHz 8-core Intel Core i9 with 64GB RAM.
EDIT Removed results since the benchmark scripts were broken. It actually never copies the posts to the folder, since the folder is previously deleted, cp
complains about missing folder. With the actual posts copied, the build times were definitely longer.
Like @jpcafe said on Twitter, this synthetic benchmark is not how Remix would handle markdown files. Those files should be treated as data and rendered on demand. Remix is not an SSG framework. Sure it supports MD routes, but mainly for convenience when you have a few markdown files. But if you have 4000, you'd keep those in a database, or in a lot of cases pull them from GitHub and render it on the fly. Either caching via Redis or using HTTP caching headers.
Anyway, I think it was disingenuous (considering you maintain one of the other frameworks) to release a benchmark result that was such an outlier without reaching out to the Remix community first.
Like Next/Nuxt/Remix, SvelteKit is more a framework that can generate static files than one built specifically for it, but it would still be interesting to see the comparison using MDSvex (Svelte's de facto markdown parser) and the static adapter.
Really interesting project.
Maybe it would be interesting to also compare this across OS's like Mac vs Linux vs Windows. Especially for win the shell script would need to have a runnable equal on windows.
For this to work IMO one of the easiest approaches would be to convert the .sh scripts into js (could also use something like zx for convenience).
I'd be really interested in seeing how Zola performs if at all possible, especially in comparison to Hugo. I've been using it for a couple of personal sites, but am in the planning stages for a much larger project where performance would be more of a factor.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.