Description
Try to build with 1000 .md files
Vuepress takes more than 10min to compile and render, in both vite-bundler and webpack-bundler
Meanwhile, VitePress@1.0.0-alpha.4 only takes 30s
The core part of build-bundler - Vite is the same, so the problem may be how VuePress processes or organises .md and .vue. What is the difference between VitePress and VuePress during compiling & rendering?
Used Package Manager
npm
System Info
System:
OS: macOS 12.4
CPU: (8) arm64 Apple M2
Memory: 6.52 GB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.15.1 - /usr/local/bin/node
Yarn: Not Found
npm: 8.11.0 - /usr/local/bin/npm
Utilities:
Git: 2.32.1 - /usr/bin/git
Browsers:
Chrome: 103.0.5060.134
Edge: Not Found
Firefox: Not Found
Safari: 15.5
npmPackages:
System:
OS: macOS 12.4
CPU: (8) arm64 Apple M2
Memory: 6.52 GB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.15.1 - /usr/local/bin/node
Yarn: Not Found
npm: 8.11.0 - /usr/local/bin/npm
Utilities:
Git: 2.32.1 - /usr/bin/git
Browsers:
Chrome: 103.0.5060.134
Edge: Not Found
Firefox: Not Found
Safari: 15.5
npmPackages:
@vuepress/bundler-vite: ^2.0.0-beta.49 => 2.0.0-beta.49
@vuepress/bundler-webpack: ^2.0.0-beta.49 => 2.0.0-beta.49
@vuepress/cli: 2.0.0-beta.49
@vuepress/client: 2.0.0-beta.49
@vuepress/core: 2.0.0-beta.49
@vuepress/markdown: 2.0.0-beta.49
@vuepress/plugin-active-header-links: 2.0.0-beta.49
@vuepress/plugin-back-to-top: 2.0.0-beta.49
@vuepress/plugin-container: 2.0.0-beta.49
@vuepress/plugin-docsearch: ^2.0.0-beta.49 => 2.0.0-beta.49
@vuepress/plugin-external-link-icon: 2.0.0-beta.49
@vuepress/plugin-git: 2.0.0-beta.49
@vuepress/plugin-google-analytics: ^2.0.0-beta.49 => 2.0.0-beta.49
@vuepress/plugin-medium-zoom: 2.0.0-beta.49
@vuepress/plugin-nprogress: 2.0.0-beta.49
@vuepress/plugin-palette: 2.0.0-beta.49
@vuepress/plugin-prismjs: 2.0.0-beta.49
@vuepress/plugin-pwa: Not Found
@vuepress/plugin-pwa-popup: Not Found
@vuepress/plugin-register-components: ^2.0.0-beta.49 => 2.0.0-beta.49
@vuepress/plugin-search: Not Found
@vuepress/plugin-shiki: ^2.0.0-beta.49 => 2.0.0-beta.49
@vuepress/plugin-theme-data: 2.0.0-beta.49
@vuepress/plugin-toc: Not Found
@vuepress/shared: 2.0.0-beta.49
@vuepress/theme-default: 2.0.0-beta.49
@vuepress/utils: 2.0.0-beta.49
vue: 3.2.37
vue-loader: 17.0.0
vue-router: 4.0.16
vuepress: ^2.0.0-beta.49 => 2.0.0-beta.49
vuepress-vite: 2.0.0-beta.49
Description
Try to build with 1000 .md files
Vuepress takes more than 10min to compile and render, in both vite-bundler and webpack-bundler
Meanwhile, VitePress@1.0.0-alpha.4 only takes 30s
The core part of build-bundler - Vite is the same, so the problem may be how VuePress processes or organises
.mdand.vue. What is the difference between VitePress and VuePress during compiling & rendering?Used Package Manager
npm
System Info
System: OS: macOS 12.4 CPU: (8) arm64 Apple M2 Memory: 6.52 GB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 16.15.1 - /usr/local/bin/node Yarn: Not Found npm: 8.11.0 - /usr/local/bin/npm Utilities: Git: 2.32.1 - /usr/bin/git Browsers: Chrome: 103.0.5060.134 Edge: Not Found Firefox: Not Found Safari: 15.5 npmPackages: System: OS: macOS 12.4 CPU: (8) arm64 Apple M2 Memory: 6.52 GB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 16.15.1 - /usr/local/bin/node Yarn: Not Found npm: 8.11.0 - /usr/local/bin/npm Utilities: Git: 2.32.1 - /usr/bin/git Browsers: Chrome: 103.0.5060.134 Edge: Not Found Firefox: Not Found Safari: 15.5 npmPackages: @vuepress/bundler-vite: ^2.0.0-beta.49 => 2.0.0-beta.49 @vuepress/bundler-webpack: ^2.0.0-beta.49 => 2.0.0-beta.49 @vuepress/cli: 2.0.0-beta.49 @vuepress/client: 2.0.0-beta.49 @vuepress/core: 2.0.0-beta.49 @vuepress/markdown: 2.0.0-beta.49 @vuepress/plugin-active-header-links: 2.0.0-beta.49 @vuepress/plugin-back-to-top: 2.0.0-beta.49 @vuepress/plugin-container: 2.0.0-beta.49 @vuepress/plugin-docsearch: ^2.0.0-beta.49 => 2.0.0-beta.49 @vuepress/plugin-external-link-icon: 2.0.0-beta.49 @vuepress/plugin-git: 2.0.0-beta.49 @vuepress/plugin-google-analytics: ^2.0.0-beta.49 => 2.0.0-beta.49 @vuepress/plugin-medium-zoom: 2.0.0-beta.49 @vuepress/plugin-nprogress: 2.0.0-beta.49 @vuepress/plugin-palette: 2.0.0-beta.49 @vuepress/plugin-prismjs: 2.0.0-beta.49 @vuepress/plugin-pwa: Not Found @vuepress/plugin-pwa-popup: Not Found @vuepress/plugin-register-components: ^2.0.0-beta.49 => 2.0.0-beta.49 @vuepress/plugin-search: Not Found @vuepress/plugin-shiki: ^2.0.0-beta.49 => 2.0.0-beta.49 @vuepress/plugin-theme-data: 2.0.0-beta.49 @vuepress/plugin-toc: Not Found @vuepress/shared: 2.0.0-beta.49 @vuepress/theme-default: 2.0.0-beta.49 @vuepress/utils: 2.0.0-beta.49 vue: 3.2.37 vue-loader: 17.0.0 vue-router: 4.0.16 vuepress: ^2.0.0-beta.49 => 2.0.0-beta.49 vuepress-vite: 2.0.0-beta.49