Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): Docusaurus Faster - SSG worker threads #10826

Merged
merged 39 commits into from
Jan 27, 2025

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Jan 7, 2025

Motivation

This PR introduces a new Docusaurus Faster option: siteConfig.future.experimental_faster.ssgWorkerThreads.

It permits you to optimize the static site generation phase of your site, by executing SSG tasks in a worker thread pool.

This enables you to distribute load across your computer CPUs more evenly, and can greatly decrease SSG time for larger sites. It is particularly impactful on large sites, and sites using features that produce many pages (tags, blog pagination, blog authors pages).

To use this option, the v4 future flag siteConfig.future.v4.removeLegacyPostBuildHeadAttribute must be turned on.

Note: we recommend you try to turn all v4 future flags on globally: future.v4: true. This opt-in for upcoming v4 breaking changes and prepare your site for it.

If possible, use the following config:

export default {
  future: {
    v4: true,
    experimental_faster: true,
  },
}

Benchmark

Using a thread pool to distribute the SSG load over multiple workers can significantly improve the SSG execution time. According to my local tests (Mac M3 Pro), SSG can be divided by ~2 and probably more if there are many pathnames to render.

On our site, SSG goes from 12 seconds to 6 seconds (executing yarn build:website --locale en), which reduces the total build time by ~6 seconds using the default thread pool settings:

hyperfine --runs 3 \
'DOCUSAURUS_SSG_WORKER_THREAD_COUNT=1 yarn build:website --locale en' \
'yarn build:website --locale en'

Benchmark 1: DOCUSAURUS_SSG_WORKER_THREAD_COUNT=1 yarn build:website --locale en
  Time (mean ± σ):     44.025 s ±  0.111 s    [User: 101.346 s, System: 19.927 s]
  Range (min … max):   43.919 s … 44.141 s    3 runs
 
Benchmark 2: yarn build:website --locale en
  Time (mean ± σ):     38.447 s ±  1.321 s    [User: 124.407 s, System: 23.509 s]
  Range (min … max):   37.042 s … 39.665 s    3 runs
 
Summary
  yarn build:website --locale en ran
    1.15 ± 0.04 times faster than DOCUSAURUS_SSG_WORKER_THREAD_COUNT=1 yarn build:website --locale en

This build benchmark only reports a 15% improvement because SSG is only a part of the full Docusaurus build. The SSG time went from 12s to 6s locally so it remains significant for that particular phase (50% improvement). For sites with thousands of pages, the impact can be even more significant. Once we activate Rspack persistent caching (faster rebuilds), saving 50% of SSG time will be much more important to have super fast site rebuilds.

Fine-tuning

Providing sensible defaults for the worker thread pool config is difficult. We'll improve the current defaults according to early adopter's feedback.

There are env variables that you can use to adjust settings:

  • DOCUSAURUS_SSG_WORKER_THREAD_COUNT: number of threads (default to CPU count)
  • DOCUSAURUS_SSG_WORKER_THREAD_TASK_SIZE: number of pathnames to render per worker task submission (default=10)

Note: these variables are implementation details. We may refactor/rename them in minor versions. Eventually, we'll expose a public API for fine-tuning thread pool configuration.

Using DOCUSAURUS_SSG_WORKER_THREAD_COUNT=1 permits to not use worker threads: SSG will be executed in the current main thread (historical SSG behavior of Docusaurus).

We recommend you benchmark with various settings, find out what works best for you, and report your results to the community here. Note that settings that work better for you locally might not be the best when running on your CI / CDN build.

Example benchmark you can try locally using hyperfine:

hyperfine --runs 3 \
'DOCUSAURUS_SSG_WORKER_THREAD_COUNT=4 DOCUSAURUS_SSG_WORKER_THREAD_TASK_SIZE=1 yarn build:website --locale en' \
'DOCUSAURUS_SSG_WORKER_THREAD_COUNT=4 DOCUSAURUS_SSG_WORKER_THREAD_TASK_SIZE=15 yarn build:website --locale en' \
'DOCUSAURUS_SSG_WORKER_THREAD_COUNT=4 DOCUSAURUS_SSG_WORKER_THREAD_TASK_SIZE=50 yarn build:website --locale en' \
'DOCUSAURUS_SSG_WORKER_THREAD_COUNT=8 DOCUSAURUS_SSG_WORKER_THREAD_TASK_SIZE=1 yarn build:website --locale en' \
'DOCUSAURUS_SSG_WORKER_THREAD_COUNT=8 DOCUSAURUS_SSG_WORKER_THREAD_TASK_SIZE=15 yarn build:website --locale en' \
'DOCUSAURUS_SSG_WORKER_THREAD_COUNT=8 DOCUSAURUS_SSG_WORKER_THREAD_TASK_SIZE=50 yarn build:website --locale en' \
'DOCUSAURUS_SSG_WORKER_THREAD_COUNT=12 DOCUSAURUS_SSG_WORKER_THREAD_TASK_SIZE=1 yarn build:website --locale en' \
'DOCUSAURUS_SSG_WORKER_THREAD_COUNT=12 DOCUSAURUS_SSG_WORKER_THREAD_TASK_SIZE=15 yarn build:website --locale en' \
'DOCUSAURUS_SSG_WORKER_THREAD_COUNT=12 DOCUSAURUS_SSG_WORKER_THREAD_TASK_SIZE=50 yarn build:website --locale en'

Test Plan

CI + dogfood + Argos

Test links

https://deploy-preview-10826--docusaurus-2.netlify.app/

Related issues/PRs

Follow up of:

Also the expected next step for Docusaurus Faster: #10556

@slorber slorber requested a review from Josh-Cena as a code owner January 7, 2025 09:42
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jan 7, 2025
@slorber slorber marked this pull request as draft January 7, 2025 09:42
@slorber slorber added pr: new feature This PR adds a new API or behavior. pr: performance This PR does not add a new behavior, but existing behaviors will be more memory- / time-efficient. labels Jan 7, 2025
Copy link

netlify bot commented Jan 7, 2025

[V2]

Name Link
🔨 Latest commit 49fd61b
🔍 Latest deploy log https://app.netlify.com/sites/docusaurus-2/deploys/679780a9923ee00008da65db
😎 Deploy Preview https://deploy-preview-10826--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

github-actions bot commented Jan 7, 2025

Size Change: +1.13 kB (+0.01%)

Total Size: 11.8 MB

Filename Size Change
website/.docusaurus/docusaurus.config.mjs 28.4 kB +32 B (+0.11%)
website/build/docs/api/docusaurus-config.html 200 kB +738 B (+0.37%)
ℹ️ View Unchanged
Filename Size Change
website/.docusaurus/codeTranslations.json 2 B 0 B
website/.docusaurus/globalData.json 31.4 kB 0 B
website/.docusaurus/i18n.json 930 B 0 B
website/.docusaurus/registry.js 161 kB 0 B
website/.docusaurus/routes.js 77.1 kB 0 B
website/.docusaurus/routesChunkNames.json 85.2 kB 0 B
website/.docusaurus/site-metadata.json 2.3 kB 0 B
website/build/assets/css/styles.********.css 119 kB 0 B
website/build/assets/js/main.********.js 790 kB +20 B (0%)
website/build/assets/js/runtime~main.********.js 37.1 kB 0 B
website/build/blog.html 76.2 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus.html 66.9 kB 0 B
website/build/blog/2018/04/30/How-I-Converted-Profilo-To-Docusaurus.html 46 kB +12 B (+0.03%)
website/build/blog/2018/09/11/Towards-Docusaurus-2.html 50.2 kB 0 B
website/build/blog/2018/12/14/Happy-First-Birthday-Slash.html 29.4 kB 0 B
website/build/blog/2019/12/30/docusaurus-2019-recap.html 38.4 kB -1 B (0%)
website/build/blog/2020/01/07/tribute-to-endi.html 32.9 kB 0 B
website/build/blog/2021/01/19/docusaurus-2020-recap.html 50.8 kB 0 B
website/build/blog/2021/03/09/releasing-docusaurus-i18n.html 47.1 kB -1 B (0%)
website/build/blog/2021/05/12/announcing-docusaurus-two-beta.html 46.3 kB 0 B
website/build/blog/2021/11/21/algolia-docsearch-migration.html 54.7 kB +12 B (+0.02%)
website/build/blog/2022/01/24/docusaurus-2021-recap.html 43.1 kB 0 B
website/build/blog/2022/08/01/announcing-docusaurus-2.0.html 130 kB 0 B
website/build/blog/2022/09/01/docusaurus-2.1.html 52.4 kB -1 B (0%)
website/build/blog/archive.html 23.9 kB 0 B
website/build/blog/authors.html 48.9 kB 0 B
website/build/blog/authors/j-marcey.html 66.9 kB 0 B
website/build/blog/authors/josh-cena.html 45.3 kB 0 B
website/build/blog/authors/lex-111.html 52.5 kB 0 B
website/build/blog/authors/slorber.html 79.6 kB 0 B
website/build/blog/authors/slorber/authors/2.html 83.1 kB 0 B
website/build/blog/authors/slorber/authors/3.html 88.9 kB 0 B
website/build/blog/authors/slorber/authors/4.html 75.6 kB 0 B
website/build/blog/authors/yangshun.html 59.8 kB 0 B
website/build/blog/authors/zpao.html 45.8 kB 0 B
website/build/blog/page/2.html 80.6 kB 0 B
website/build/blog/page/3.html 86.6 kB 0 B
website/build/blog/page/4.html 76 kB 0 B
website/build/blog/page/5.html 45.8 kB 0 B
website/build/blog/page/6.html 30.1 kB 0 B
website/build/blog/preparing-your-site-for-docusaurus-v3.html 137 kB +4 B (0%)
website/build/blog/releases/2.2.html 51.3 kB 0 B
website/build/blog/releases/2.3.html 62.1 kB 0 B
website/build/blog/releases/2.4.html 66.4 kB 0 B
website/build/blog/releases/3.0.html 111 kB +12 B (+0.01%)
website/build/blog/releases/3.1.html 53.8 kB +1 B (0%)
website/build/blog/releases/3.2.html 50.5 kB 0 B
website/build/blog/releases/3.3.html 57.1 kB 0 B
website/build/blog/releases/3.4.html 57.3 kB +7 B (+0.01%)
website/build/blog/releases/3.5.html 59.7 kB +1 B (0%)
website/build/blog/releases/3.6.html 79.6 kB +1 B (0%)
website/build/blog/releases/3.7.html 52.1 kB +1 B (0%)
website/build/blog/tags.html 27.4 kB 0 B
website/build/blog/upgrading-frontend-dependencies-with-confidence-using-visual-regression-testing.html 127 kB 0 B
website/build/docs.html 48.6 kB 0 B
website/build/docs/advanced.html 29.8 kB 0 B
website/build/docs/advanced/architecture.html 29.3 kB +4 B (+0.01%)
website/build/docs/advanced/client.html 73.1 kB 0 B
website/build/docs/advanced/plugins.html 56.4 kB 0 B
website/build/docs/advanced/routing.html 71.2 kB +8 B (+0.01%)
website/build/docs/advanced/ssg.html 78.2 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin.html 46.1 kB +4 B (+0.01%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-html-links.html 36.4 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-untranslated-text.html 35.3 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin/prefer-docusaurus-heading.html 36.6 kB +4 B (+0.01%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/string-literal-i18n-messages.html 40.2 kB 0 B
website/build/docs/api/misc/@docusaurus/logger.html 38.3 kB 0 B
website/build/docs/api/misc/create-docusaurus.html 33.4 kB 0 B
website/build/docs/api/misc/docusaurus-init/index.html 361 B 0 B
website/build/docs/api/plugin-methods.html 65 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/extend-infrastructure.html 60.6 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/i18n-lifecycles.html 58.5 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/lifecycle-apis.html 166 kB 0 B
website/build/docs/api/plugin-methods/static-methods.html 44.8 kB +4 B (+0.01%)
website/build/docs/api/plugins.html 31 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-client-redirects.html 60.3 kB +13 B (+0.02%)
website/build/docs/api/plugins/@docusaurus/plugin-content-blog.html 190 kB -1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-docs.html 195 kB +4 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-pages.html 74.7 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-debug.html 48.8 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-google-analytics.html 49.7 kB +3 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-google-gtag.html 49.2 kB -4 B (-0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-google-tag-manager.html 48 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-ideal-image.html 49.2 kB +4 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-pwa.html 117 kB +4 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-rsdoctor.html 40.4 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-sitemap.html 66 kB +6 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-svgr.html 45.9 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-vercel-analytics.html 40.7 kB +12 B (+0.03%)
website/build/docs/api/themes.html 29.1 kB 0 B
website/build/docs/api/themes/@docusaurus/theme-classic.html 44.4 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-live-codeblock.html 37 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-mermaid.html 35.9 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-search-algolia.html 33.2 kB 0 B
website/build/docs/api/themes/configuration.html 244 kB 0 B
website/build/docs/blog.html 211 kB +6 B (0%)
website/build/docs/browser-support.html 48.8 kB 0 B
website/build/docs/category/getting-started.html 27 kB 0 B
website/build/docs/category/guides.html 34.9 kB 0 B
website/build/docs/cli.html 60.3 kB 0 B
website/build/docs/configuration.html 99 kB +7 B (+0.01%)
website/build/docs/create-doc.html 62.7 kB +12 B (+0.02%)
website/build/docs/creating-pages.html 56.8 kB +1 B (0%)
website/build/docs/deployment.html 203 kB +8 B (0%)
website/build/docs/docs-introduction.html 51.3 kB 0 B
website/build/docs/docs-multi-instance.html 75.3 kB +4 B (+0.01%)
website/build/docs/docusaurus-core.html 237 kB 0 B
website/build/docs/guides/whats-next.html 31.3 kB 0 B
website/build/docs/i18n/crowdin.html 145 kB +12 B (+0.01%)
website/build/docs/i18n/git.html 79.2 kB +4 B (+0.01%)
website/build/docs/i18n/introduction.html 48.7 kB 0 B
website/build/docs/i18n/tutorial.html 164 kB +13 B (+0.01%)
website/build/docs/installation.html 71.2 kB +4 B (+0.01%)
website/build/docs/introduction/index.html 280 B 0 B
website/build/docs/markdown-features.html 80.3 kB 0 B
website/build/docs/markdown-features/admonitions.html 114 kB +4 B (0%)
website/build/docs/markdown-features/assets.html 90.6 kB +2 B (0%)
website/build/docs/markdown-features/code-blocks.html 237 kB 0 B
website/build/docs/markdown-features/diagrams.html 53.5 kB +14 B (+0.03%)
website/build/docs/markdown-features/head-metadata.html 50.5 kB 0 B
website/build/docs/markdown-features/links.html 41.1 kB 0 B
website/build/docs/markdown-features/math-equations.html 91.4 kB +11 B (+0.01%)
website/build/docs/markdown-features/plugins.html 97.1 kB +8 B (+0.01%)
website/build/docs/markdown-features/react.html 138 kB 0 B
website/build/docs/markdown-features/tabs.html 142 kB 0 B
website/build/docs/markdown-features/toc.html 85.2 kB +4 B (0%)
website/build/docs/migration.html 41.1 kB +4 B (+0.01%)
website/build/docs/migration/v2.html 39.5 kB 0 B
website/build/docs/migration/v2/automated.html 40.7 kB 0 B
website/build/docs/migration/v2/manual.html 199 kB 0 B
website/build/docs/migration/v2/translated-sites.html 50.7 kB 0 B
website/build/docs/migration/v2/versioned-sites.html 64.6 kB +8 B (+0.01%)
website/build/docs/migration/v3.html 209 kB +1 B (0%)
website/build/docs/playground.html 31.1 kB 0 B
website/build/docs/resources/index.html 325 B 0 B
website/build/docs/search.html 116 kB +1 B (0%)
website/build/docs/seo.html 89.1 kB +13 B (+0.01%)
website/build/docs/sidebar.html 131 kB +7 B (+0.01%)
website/build/docs/sidebar/autogenerated.html 150 kB +13 B (+0.01%)
website/build/docs/sidebar/items.html 180 kB 0 B
website/build/docs/sidebar/multiple-sidebars.html 64.1 kB +4 B (+0.01%)
website/build/docs/static-assets.html 53.8 kB +4 B (+0.01%)
website/build/docs/styling-layout.html 135 kB +1 B (0%)
website/build/docs/support/index.html 319 B 0 B
website/build/docs/swizzling.html 117 kB +14 B (+0.01%)
website/build/docs/team/index.html 310 B 0 B
website/build/docs/typescript-support.html 62.8 kB +4 B (+0.01%)
website/build/docs/using-plugins.html 112 kB 0 B
website/build/docs/versioning.html 83.5 kB +13 B (+0.02%)
website/build/index.html 36.2 kB 0 B

compressed-size-action::DOCUSAURUS_INFRA_FASTER

@slorber slorber added the Argos Add this label to run UI visual regression tests. See argos.yml GH action. label Jan 7, 2025
Copy link

github-actions bot commented Jan 7, 2025

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO Report
/ 🔴 40 🟢 98 🟢 96 🟢 100 Report
/docs/installation 🟠 72 🟢 97 🟢 100 🟢 100 Report
/docs/category/getting-started 🟠 73 🟢 100 🟢 100 🟠 86 Report
/blog 🟠 61 🟢 96 🟢 100 🟠 86 Report
/blog/preparing-your-site-for-docusaurus-v3 🟠 62 🟢 92 🟢 100 🟢 100 Report
/blog/tags/release 🟠 64 🟢 96 🟢 100 🟠 86 Report
/blog/tags 🟠 73 🟢 100 🟢 100 🟠 86 Report

Copy link

github-actions bot commented Jan 7, 2025

Size Change: +1.14 kB (+0.01%)

Total Size: 12.3 MB

Filename Size Change
website/.docusaurus/docusaurus.config.mjs 28.4 kB +33 B (+0.12%)
website/build/docs/api/docusaurus-config.html 208 kB +754 B (+0.36%)
ℹ️ View Unchanged
Filename Size Change
website/.docusaurus/codeTranslations.json 2 B 0 B
website/.docusaurus/globalData.json 31.4 kB 0 B
website/.docusaurus/i18n.json 930 B 0 B
website/.docusaurus/registry.js 161 kB 0 B
website/.docusaurus/routes.js 77.1 kB 0 B
website/.docusaurus/routesChunkNames.json 85.2 kB 0 B
website/.docusaurus/site-metadata.json 2.3 kB 0 B
website/build/assets/css/styles.********.css 113 kB 0 B
website/build/assets/js/main.********.js 791 kB +20 B (0%)
website/build/assets/js/runtime~main.********.js 36.3 kB 0 B
website/build/blog.html 79.1 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus.html 69.2 kB 0 B
website/build/blog/2018/04/30/How-I-Converted-Profilo-To-Docusaurus.html 48.1 kB +12 B (+0.02%)
website/build/blog/2018/09/11/Towards-Docusaurus-2.html 52.4 kB 0 B
website/build/blog/2018/12/14/Happy-First-Birthday-Slash.html 31.1 kB 0 B
website/build/blog/2019/12/30/docusaurus-2019-recap.html 40.3 kB -1 B (0%)
website/build/blog/2020/01/07/tribute-to-endi.html 34.7 kB 0 B
website/build/blog/2021/01/19/docusaurus-2020-recap.html 53 kB 0 B
website/build/blog/2021/03/09/releasing-docusaurus-i18n.html 49.2 kB -1 B (0%)
website/build/blog/2021/05/12/announcing-docusaurus-two-beta.html 48.4 kB 0 B
website/build/blog/2021/11/21/algolia-docsearch-migration.html 57.1 kB +12 B (+0.02%)
website/build/blog/2022/01/24/docusaurus-2021-recap.html 45.2 kB 0 B
website/build/blog/2022/08/01/announcing-docusaurus-2.0.html 135 kB 0 B
website/build/blog/2022/09/01/docusaurus-2.1.html 55 kB -1 B (0%)
website/build/blog/archive.html 25.4 kB 0 B
website/build/blog/authors.html 51.1 kB 0 B
website/build/blog/authors/j-marcey.html 69.5 kB 0 B
website/build/blog/authors/josh-cena.html 47.4 kB 0 B
website/build/blog/authors/lex-111.html 54.8 kB 0 B
website/build/blog/authors/slorber.html 82.6 kB 0 B
website/build/blog/authors/slorber/authors/2.html 86.2 kB 0 B
website/build/blog/authors/slorber/authors/3.html 92.2 kB 0 B
website/build/blog/authors/slorber/authors/4.html 78.5 kB 0 B
website/build/blog/authors/yangshun.html 62.3 kB 0 B
website/build/blog/authors/zpao.html 47.9 kB 0 B
website/build/blog/page/2.html 83.4 kB 0 B
website/build/blog/page/3.html 89.6 kB 0 B
website/build/blog/page/4.html 78.8 kB 0 B
website/build/blog/page/5.html 47.9 kB 0 B
website/build/blog/page/6.html 31.8 kB 0 B
website/build/blog/preparing-your-site-for-docusaurus-v3.html 142 kB -1 B (0%)
website/build/blog/releases/2.2.html 53.7 kB 0 B
website/build/blog/releases/2.3.html 64.9 kB 0 B
website/build/blog/releases/2.4.html 69.4 kB 0 B
website/build/blog/releases/3.0.html 115 kB +12 B (+0.01%)
website/build/blog/releases/3.1.html 56.1 kB +1 B (0%)
website/build/blog/releases/3.2.html 52.9 kB 0 B
website/build/blog/releases/3.3.html 59.6 kB 0 B
website/build/blog/releases/3.4.html 59.9 kB +7 B (+0.01%)
website/build/blog/releases/3.5.html 62.3 kB +1 B (0%)
website/build/blog/releases/3.6.html 83 kB +1 B (0%)
website/build/blog/releases/3.7.html 54.6 kB +1 B (0%)
website/build/blog/tags.html 29.2 kB 0 B
website/build/blog/upgrading-frontend-dependencies-with-confidence-using-visual-regression-testing.html 132 kB 0 B
website/build/docs.html 50.7 kB 0 B
website/build/docs/advanced.html 31.4 kB 0 B
website/build/docs/advanced/architecture.html 31 kB +4 B (+0.01%)
website/build/docs/advanced/client.html 76.3 kB 0 B
website/build/docs/advanced/plugins.html 58.9 kB 0 B
website/build/docs/advanced/routing.html 74.2 kB +8 B (+0.01%)
website/build/docs/advanced/ssg.html 81.8 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin.html 48.6 kB +4 B (+0.01%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-html-links.html 38.4 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin/no-untranslated-text.html 37.3 kB 0 B
website/build/docs/api/misc/@docusaurus/eslint-plugin/prefer-docusaurus-heading.html 38.6 kB +4 B (+0.01%)
website/build/docs/api/misc/@docusaurus/eslint-plugin/string-literal-i18n-messages.html 42.3 kB 0 B
website/build/docs/api/misc/@docusaurus/logger.html 40.1 kB 0 B
website/build/docs/api/misc/create-docusaurus.html 35.2 kB 0 B
website/build/docs/api/misc/docusaurus-init/index.html 361 B 0 B
website/build/docs/api/plugin-methods.html 67.7 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/extend-infrastructure.html 63.3 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/i18n-lifecycles.html 61 kB +4 B (+0.01%)
website/build/docs/api/plugin-methods/lifecycle-apis.html 172 kB 0 B
website/build/docs/api/plugin-methods/static-methods.html 46.9 kB +4 B (+0.01%)
website/build/docs/api/plugins.html 32.7 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-client-redirects.html 63.3 kB +13 B (+0.02%)
website/build/docs/api/plugins/@docusaurus/plugin-content-blog.html 199 kB -1 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-docs.html 203 kB +4 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-content-pages.html 78.7 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-debug.html 51.2 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-google-analytics.html 52.2 kB +3 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-google-gtag.html 51.7 kB -4 B (-0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-google-tag-manager.html 50.5 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-ideal-image.html 51.8 kB +4 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-pwa.html 123 kB +4 B (0%)
website/build/docs/api/plugins/@docusaurus/plugin-rsdoctor.html 42.6 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-sitemap.html 69.2 kB +6 B (+0.01%)
website/build/docs/api/plugins/@docusaurus/plugin-svgr.html 48.3 kB 0 B
website/build/docs/api/plugins/@docusaurus/plugin-vercel-analytics.html 42.9 kB +12 B (+0.03%)
website/build/docs/api/themes.html 30.7 kB 0 B
website/build/docs/api/themes/@docusaurus/theme-classic.html 46.7 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-live-codeblock.html 39 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-mermaid.html 37.8 kB +4 B (+0.01%)
website/build/docs/api/themes/@docusaurus/theme-search-algolia.html 35 kB 0 B
website/build/docs/api/themes/configuration.html 257 kB 0 B
website/build/docs/blog.html 219 kB +6 B (0%)
website/build/docs/browser-support.html 51.3 kB 0 B
website/build/docs/category/getting-started.html 28.6 kB 0 B
website/build/docs/category/guides.html 36.7 kB 0 B
website/build/docs/cli.html 64.1 kB 0 B
website/build/docs/configuration.html 103 kB +7 B (+0.01%)
website/build/docs/create-doc.html 65.6 kB +12 B (+0.02%)
website/build/docs/creating-pages.html 59.4 kB +1 B (0%)
website/build/docs/deployment.html 212 kB +8 B (0%)
website/build/docs/docs-introduction.html 53.9 kB 0 B
website/build/docs/docs-multi-instance.html 79 kB +4 B (+0.01%)
website/build/docs/docusaurus-core.html 246 kB 0 B
website/build/docs/guides/whats-next.html 33.1 kB 0 B
website/build/docs/i18n/crowdin.html 151 kB +12 B (+0.01%)
website/build/docs/i18n/git.html 83 kB +4 B (0%)
website/build/docs/i18n/introduction.html 51.1 kB 0 B
website/build/docs/i18n/tutorial.html 171 kB +13 B (+0.01%)
website/build/docs/installation.html 74.6 kB +4 B (+0.01%)
website/build/docs/introduction/index.html 280 B 0 B
website/build/docs/markdown-features.html 83.5 kB 0 B
website/build/docs/markdown-features/admonitions.html 119 kB +4 B (0%)
website/build/docs/markdown-features/assets.html 95.1 kB +2 B (0%)
website/build/docs/markdown-features/code-blocks.html 247 kB 0 B
website/build/docs/markdown-features/diagrams.html 56.3 kB +14 B (+0.02%)
website/build/docs/markdown-features/head-metadata.html 53.1 kB 0 B
website/build/docs/markdown-features/links.html 43.4 kB 0 B
website/build/docs/markdown-features/math-equations.html 95.7 kB +11 B (+0.01%)
website/build/docs/markdown-features/plugins.html 101 kB +8 B (+0.01%)
website/build/docs/markdown-features/react.html 144 kB 0 B
website/build/docs/markdown-features/tabs.html 149 kB 0 B
website/build/docs/markdown-features/toc.html 89.1 kB +4 B (0%)
website/build/docs/migration.html 43.4 kB -1 B (0%)
website/build/docs/migration/v2.html 41.6 kB 0 B
website/build/docs/migration/v2/automated.html 42.9 kB 0 B
website/build/docs/migration/v2/manual.html 207 kB 0 B
website/build/docs/migration/v2/translated-sites.html 53.1 kB 0 B
website/build/docs/migration/v2/versioned-sites.html 67.5 kB +8 B (+0.01%)
website/build/docs/migration/v3.html 218 kB +1 B (0%)
website/build/docs/playground.html 32.8 kB 0 B
website/build/docs/resources/index.html 325 B 0 B
website/build/docs/search.html 121 kB +1 B (0%)
website/build/docs/seo.html 93.3 kB +13 B (+0.01%)
website/build/docs/sidebar.html 137 kB +7 B (+0.01%)
website/build/docs/sidebar/autogenerated.html 157 kB +13 B (+0.01%)
website/build/docs/sidebar/items.html 188 kB 0 B
website/build/docs/sidebar/multiple-sidebars.html 67.4 kB +4 B (+0.01%)
website/build/docs/static-assets.html 56.6 kB +4 B (+0.01%)
website/build/docs/styling-layout.html 141 kB +1 B (0%)
website/build/docs/support/index.html 319 B 0 B
website/build/docs/swizzling.html 122 kB +14 B (+0.01%)
website/build/docs/team/index.html 310 B 0 B
website/build/docs/typescript-support.html 65.7 kB +4 B (+0.01%)
website/build/docs/using-plugins.html 117 kB 0 B
website/build/docs/versioning.html 87.4 kB +13 B (+0.01%)
website/build/index.html 38 kB 0 B

compressed-size-action::DOCUSAURUS_INFRA_SLOWER

Copy link

argos-ci bot commented Jan 7, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) 👍 Changes approved 1 changed Jan 27, 2025, 12:56 PM

Copy link

socket-security bot commented Jan 7, 2025

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

@slorber slorber marked this pull request as ready for review January 17, 2025 20:25
@slorber slorber changed the title feat(core): SSG worker threads POC feat(core): Docusaurus Faster - SSG worker threads Jan 27, 2025
Copy link

Report too large to display inline

View full report↗︎

@slorber slorber merged commit 98aab81 into main Jan 27, 2025
39 checks passed
@slorber slorber deleted the slorber/poc-remove-helmet-nonserializable-data branch January 27, 2025 13:24
@slorber slorber mentioned this pull request Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Argos Add this label to run UI visual regression tests. See argos.yml GH action. CLA Signed Signed Facebook CLA pr: new feature This PR adds a new API or behavior. pr: performance This PR does not add a new behavior, but existing behaviors will be more memory- / time-efficient.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants