Skip to content

Instantly share code, notes, and snippets.

@staydecent
Created February 4, 2021 19:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save staydecent/83c2a005b9c16a9dfa81314cd9fb4e6b to your computer and use it in GitHub Desktop.
Save staydecent/83c2a005b9c16a9dfa81314cd9fb4e6b to your computer and use it in GitHub Desktop.
Rough idea of execution times for bootstrapping and building react projects with various tooling
// NEXT (10.0.0)
// ---
time npx create-next-app nextjs-blog --use-npm --example "https://github.com/vercel/next-learn-starter/tree/master/learn-starter"
----------------------------------------------
112.68 real 15.44 user 6.49 sys
time npm run build
----------------------------------------------
13.84 real 15.19 user 1.07 sys
// GATSBY (2.26.1)
// ---
time npx gatsby new hello-gatsby https://github.com/gatsbyjs/gatsby-starter-hello-world
----------------------------------------------
412.00 real 99.81 user 44.30 sys
time npm run build
----------------------------------------------
22.36 real 15.11 user 1.41 sys
// VITE (2.0.0-beta.64)
// ---
time npm init @vitejs/app my-vite-app --template preact
---------------------------------------------
4.55 real 1.36 user 0.35 sys
time npm install
---------------------------------------------
15.39 real 4.28 user 1.21 sys
time npm run build
---------------------------------------------
1.47 real 1.25 user 0.12 sys
// WMR (1.1.0)
// ---
time npm init wmr wmr-project
---------------------------------------------
5.55 real 2.72 user 0.61 sys
time npm install
---------------------------------------------
1.21 real 0.67 user 0.13 sys
time npm run build
---------------------------------------------
2.80 real 1.81 user 0.19 sys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment