Skip to content

Instantly share code, notes, and snippets.

@pvdz
Created July 1, 2020 12:19
Show Gist options
  • Save pvdz/10eb6b92f58a32233c10dd9f8810d7b3 to your computer and use it in GitHub Desktop.
Save pvdz/10eb6b92f58a32233c10dd9f8810d7b3 to your computer and use it in GitHub Desktop.
mdx2 (1k, 2k, 4k, 8k, 16k), nuc, master (1st july)
🦊 13:49:57 ~/g/mdx2 $ CI=1 N=1000 M=4 yarn bench
yarn run v1.22.4
$ rm -rf generated_articles; gatsby clean; N=${N:-512} node gen.js; NBR=1 node --max_old_space_size=${M:-2}000 node_modules/.bin/gatsby build --verbose
info Deleting .cache, public
info Successfully deleted directories
Start of gen
Now generating 1000 articles
Finished generating 1000 articles
End of gen
NO "DEBUG" method
NO "DEBUG" method
NO "DEBUG" method
NO "DEBUG" method
success open and validate gatsby-configs - 0.013s
success load plugins - 0.110s
success onPreInit - 0.002s
success delete html and css files from previous builds - 0.008s
success initialize cache - 0.004s
success copy gatsby files - 0.014s
success onPreBootstrap - 0.006s
success createSchemaCustomization - 0.003s
NO "DEBUG" method
success source and transform nodes - 30.059s
success building schema - 0.252s
(userland gatsby-node) initial graphql query: 68.634ms
(userland gatsby-node) created pages: 223.556ms
(userland gatsby-node) total exports.createPages: 293.003ms
success (userland gatsby-node) createPages - 0.224s - Calling createPage for all pages
NO "DEBUG" method
success createPages - 0.618s
success createPagesStatefully - 0.026s
success updating schema - 0.039s
success onPreExtractQueries - 0.000s
success extract queries from components - 0.159s
success write out redirect data - 0.001s
success onPostBootstrap - 0.000s
info bootstrap finished - 33.185s
success run page queries - 16.612s - 1001/1001 60.26/s
success write out requires - 0.010s
success Building production JavaScript and CSS bundles - 7.193s
success Rewriting compilation hashes - 0.001s
success Building static HTML for pages - 2.238s - 1001/1001 447.28/s
success onPostBuild - 0.000s
info Done building in 59.942 sec
Done in 64.96s.
🦊 13:51:10 ~/g/mdx2 $ CI=1 N=2000 M=4 yarn bench
yarn run v1.22.4
$ rm -rf generated_articles; gatsby clean; N=${N:-512} node gen.js; NBR=1 node --max_old_space_size=${M:-2}000 node_modules/.bin/gatsby build --verbose
info Deleting .cache, public
info Successfully deleted directories
Start of gen
Now generating 2000 articles
Finished generating 2000 articles
End of gen
NO "DEBUG" method
NO "DEBUG" method
NO "DEBUG" method
NO "DEBUG" method
success open and validate gatsby-configs - 0.013s
success load plugins - 0.111s
success onPreInit - 0.001s
success delete html and css files from previous builds - 0.008s
success initialize cache - 0.004s
success copy gatsby files - 0.010s
success onPreBootstrap - 0.006s
success createSchemaCustomization - 0.003s
NO "DEBUG" method
success source and transform nodes - 55.941s
success building schema - 0.309s
(userland gatsby-node) initial graphql query: 139.270ms
(userland gatsby-node) created pages: 372.873ms
(userland gatsby-node) total exports.createPages: 512.630ms
success (userland gatsby-node) createPages - 0.373s - Calling createPage for all pages
NO "DEBUG" method
success createPages - 1.079s
success createPagesStatefully - 0.026s
success updating schema - 0.066s
success onPreExtractQueries - 0.001s
success extract queries from components - 0.145s
success write out redirect data - 0.003s
success onPostBootstrap - 0.000s
info bootstrap finished - 59.626s
success run page queries - 33.624s - 2001/2001 59.51/s
success write out requires - 0.022s
success Building production JavaScript and CSS bundles - 6.929s
success Rewriting compilation hashes - 0.001s
success Building static HTML for pages - 2.918s - 2001/2001 685.75/s
success onPostBuild - 0.000s
info Done building in 104.197 sec
Done in 106.41s.
🦊 13:52:56 ~/g/mdx2 $ CI=1 N=4000 M=4 yarn bench
yarn run v1.22.4
$ rm -rf generated_articles; gatsby clean; N=${N:-512} node gen.js; NBR=1 node --max_old_space_size=${M:-2}000 node_modules/.bin/gatsby build --verbose
info Deleting .cache, public
info Successfully deleted directories
Start of gen
Now generating 4000 articles
Finished generating 4000 articles
End of gen
NO "DEBUG" method
NO "DEBUG" method
NO "DEBUG" method
NO "DEBUG" method
success open and validate gatsby-configs - 0.013s
success load plugins - 0.108s
success onPreInit - 0.001s
success delete html and css files from previous builds - 0.008s
success initialize cache - 0.003s
success copy gatsby files - 0.014s
success onPreBootstrap - 0.006s
success createSchemaCustomization - 0.003s
NO "DEBUG" method
success source and transform nodes - 107.859s
success building schema - 0.359s
(userland gatsby-node) initial graphql query: 205.261ms
(userland gatsby-node) created pages: 542.541ms
(userland gatsby-node) total exports.createPages: 748.257ms
success (userland gatsby-node) createPages - 0.543s - Calling createPage for all pages
NO "DEBUG" method
success createPages - 1.753s
success createPagesStatefully - 0.027s
success updating schema - 0.089s
success onPreExtractQueries - 0.000s
success extract queries from components - 0.160s
success write out redirect data - 0.004s
success onPostBootstrap - 0.000s
info bootstrap finished - 112.264s
success run page queries - 67.483s - 4000/4000 59.27/s
success write out requires - 0.021s
success Building production JavaScript and CSS bundles - 7.252s
success Rewriting compilation hashes - 0.001s
success Building static HTML for pages - 4.614s - 4000/4000 867.00/s
success onPostBuild - 0.000s
info Done building in 193.317 sec
Done in 195.77s.
🦊 13:56:12 ~/g/mdx2 $ CI=1 N=8000 M=4 yarn bench
yarn run v1.22.4
$ rm -rf generated_articles; gatsby clean; N=${N:-512} node gen.js; NBR=1 node --max_old_space_size=${M:-2}000 node_modules/.bin/gatsby build --verbose
info Deleting .cache, public
info Successfully deleted directories
Start of gen
Now generating 8000 articles
Finished generating 8000 articles
End of gen
NO "DEBUG" method
NO "DEBUG" method
NO "DEBUG" method
NO "DEBUG" method
success open and validate gatsby-configs - 0.013s
success load plugins - 0.110s
success onPreInit - 0.002s
success delete html and css files from previous builds - 0.008s
success initialize cache - 0.003s
success copy gatsby files - 0.014s
success onPreBootstrap - 0.006s
success createSchemaCustomization - 0.003s
NO "DEBUG" method
success source and transform nodes - 221.952s
success building schema - 0.461s
(userland gatsby-node) initial graphql query: 344.657ms
(userland gatsby-node) created pages: 872.714ms
(userland gatsby-node) total exports.createPages: 1217.855ms
success (userland gatsby-node) createPages - 0.873s - Calling createPage for all pages
NO "DEBUG" method
success createPages - 3.122s
success createPagesStatefully - 0.070s
success updating schema - 0.124s
success onPreExtractQueries - 0.000s
success extract queries from components - 0.163s
success write out redirect data - 0.007s
success onPostBootstrap - 0.000s
info bootstrap finished - 227.948s
success run page queries - 142.647s - 8001/8001 56.09/s
success write out requires - 0.062s
success Building production JavaScript and CSS bundles - 7.142s
success Rewriting compilation hashes - 0.002s
success Building static HTML for pages - 7.803s - 8001/8001 1025.31/s
success onPostBuild - 0.000s
info Done building in 388.501 sec
Done in 391.49s.
🦊 14:02:44 ~/g/mdx2 $ CI=1 N=16000 M=4 yarn bench
yarn run v1.22.4
$ rm -rf generated_articles; gatsby clean; N=${N:-512} node gen.js; NBR=1 node --max_old_space_size=${M:-2}000 node_modules/.bin/gatsby build --verbose
info Deleting .cache, public
info Successfully deleted directories
Start of gen
Now generating 16000 articles
Finished generating 16000 articles
End of gen
NO "DEBUG" method
NO "DEBUG" method
NO "DEBUG" method
NO "DEBUG" method
success open and validate gatsby-configs - 0.013s
success load plugins - 0.107s
success onPreInit - 0.001s
success delete html and css files from previous builds - 0.008s
success initialize cache - 0.003s
success copy gatsby files - 0.014s
success onPreBootstrap - 0.006s
success createSchemaCustomization - 0.003s
NO "DEBUG" method
success source and transform nodes - 464.488s
success building schema - 0.631s
(userland gatsby-node) initial graphql query: 610.700ms
(userland gatsby-node) created pages: 1536.349ms
(userland gatsby-node) total exports.createPages: 2147.543ms
success (userland gatsby-node) createPages - 1.537s - Calling createPage for all pages
NO "DEBUG" method
success createPages - 6.742s
success createPagesStatefully - 0.027s
success updating schema - 0.186s
success onPreExtractQueries - 0.001s
success extract queries from components - 0.145s
success write out redirect data - 0.028s
success onPostBootstrap - 0.000s
info bootstrap finished - 474.266s
success run page queries - 317.980s - 16000/16000 50.32/s
success write out requires - 0.091s
success Building production JavaScript and CSS bundles - 8.022s
success Rewriting compilation hashes - 0.001s
success Building static HTML for pages - 13.364s - 16000/16000 1197.21/s
success onPostBuild - 0.000s
info Done building in 819.441 sec
Done in 823.54s.
🦊 14:16:28 ~/g/mdx2 $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment