Skip to content

Instantly share code, notes, and snippets.

@pvdz
Created July 1, 2020 11:49
Show Gist options
  • Save pvdz/b1556a3b51476af05500d4f0ba433c91 to your computer and use it in GitHub Desktop.
Save pvdz/b1556a3b51476af05500d4f0ba433c91 to your computer and use it in GitHub Desktop.
mdx2 (1k, 2k, 4k, 8k, 16k), nuc, skip-babel-mdx-once branch
🦊 13:28:12 ~/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.109s
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 - 14.310s
success building schema - 0.260s
(userland gatsby-node) initial graphql query: 80.195ms
(userland gatsby-node) created pages: 211.171ms
(userland gatsby-node) total exports.createPages: 291.824ms
success (userland gatsby-node) createPages - 0.211s - Calling createPage for all pages
NO "DEBUG" method
success createPages - 0.589s
success createPagesStatefully - 0.029s
success updating schema - 0.040s
success onPreExtractQueries - 0.000s
success extract queries from components - 0.148s
success write out redirect data - 0.001s
success onPostBootstrap - 0.000s
info bootstrap finished - 17.384s
success run page queries - 18.592s - 1001/1001 53.84/s
success write out requires - 0.013s
success Building production JavaScript and CSS bundles - 7.015s
success Rewriting compilation hashes - 0.001s
success Building static HTML for pages - 2.169s - 1001/1001 461.53/s
success onPostBuild - 0.000s
info Done building in 45.849 sec
Done in 47.86s.
🦊 13:29:06 ~/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.109s
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.015s
success onPreBootstrap - 0.006s
success createSchemaCustomization - 0.003s
NO "DEBUG" method
success source and transform nodes - 25.955s
success building schema - 0.292s
(userland gatsby-node) initial graphql query: 112.981ms
(userland gatsby-node) created pages: 350.131ms
(userland gatsby-node) total exports.createPages: 463.637ms
success (userland gatsby-node) createPages - 0.351s - Calling createPage for all pages
NO "DEBUG" method
success createPages - 1.205s
success createPagesStatefully - 0.027s
success updating schema - 0.072s
success onPreExtractQueries - 0.001s
success extract queries from components - 0.164s
success write out redirect data - 0.002s
success onPostBootstrap - 0.000s
info bootstrap finished - 29.726s
success run page queries - 36.178s - 2001/2001 55.31/s
success write out requires - 0.015s
success Building production JavaScript and CSS bundles - 6.903s
success Rewriting compilation hashes - 0.001s
success Building static HTML for pages - 2.885s - 2001/2001 693.52/s
success onPostBuild - 0.000s
info Done building in 76.712 sec
Done in 78.91s.
🦊 13:30:25 ~/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.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 - 48.602s
success building schema - 0.350s
(userland gatsby-node) initial graphql query: 202.986ms
(userland gatsby-node) created pages: 514.349ms
(userland gatsby-node) total exports.createPages: 717.807ms
success (userland gatsby-node) createPages - 0.515s - Calling createPage for all pages
NO "DEBUG" method
success createPages - 1.718s
success createPagesStatefully - 0.032s
success updating schema - 0.068s
success onPreExtractQueries - 0.000s
success extract queries from components - 0.150s
success write out redirect data - 0.007s
success onPostBootstrap - 0.000s
info bootstrap finished - 52.942s
success run page queries - 70.506s - 4001/4001 56.75/s
success write out requires - 0.026s
success Building production JavaScript and CSS bundles - 7.355s
success Rewriting compilation hashes - 0.001s
success Building static HTML for pages - 4.683s - 4001/4001 854.29/s
success onPostBuild - 0.000s
info Done building in 137.145 sec
Done in 139.62s.
🦊 13:32:44 ~/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.108s
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 - 104.022s
success building schema - 0.457s
(userland gatsby-node) initial graphql query: 367.985ms
(userland gatsby-node) created pages: 866.241ms
(userland gatsby-node) total exports.createPages: 1234.780ms
success (userland gatsby-node) createPages - 0.867s - Calling createPage for all pages
NO "DEBUG" method
success createPages - 3.203s
success createPagesStatefully - 0.029s
success updating schema - 0.126s
success onPreExtractQueries - 0.000s
success extract queries from components - 0.155s
success write out redirect data - 0.009s
success onPostBootstrap - 0.000s
info bootstrap finished - 110.001s
success run page queries - 153.265s - 8001/8001 52.20/s
success write out requires - 0.064s
success Building production JavaScript and CSS bundles - 7.211s
success Rewriting compilation hashes - 0.001s
success Building static HTML for pages - 8.391s - 8001/8001 953.57/s
success onPostBuild - 0.000s
info Done building in 281.832 sec
Done in 284.79s.
🦊 13:37:29 ~/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.109s
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.011s
success onPreBootstrap - 0.006s
success createSchemaCustomization - 0.003s
NO "DEBUG" method
success source and transform nodes - 218.060s
success building schema - 0.628s
(userland gatsby-node) initial graphql query: 614.731ms
(userland gatsby-node) created pages: 1476.589ms
(userland gatsby-node) total exports.createPages: 2091.787ms
success (userland gatsby-node) createPages - 1.477s - Calling createPage for all pages
NO "DEBUG" method
success createPages - 5.847s
success createPagesStatefully - 0.029s
success updating schema - 0.159s
success onPreExtractQueries - 0.000s
success extract queries from components - 0.147s
success write out redirect data - 0.000s
success onPostBootstrap - 0.000s
info bootstrap finished - 226.870s
success run page queries - 318.179s - 16001/16001 50.29/s
success write out requires - 0.093s
success Building production JavaScript and CSS bundles - 7.304s
success Rewriting compilation hashes - 0.001s
success Building static HTML for pages - 13.309s - 16001/16001 1202.26/s
success onPostBuild - 0.000s
info Done building in 572.157 sec
Done in 576.24s.
🦊 13:47:06 ~/g/mdx2 $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment