Reproduction link or steps
https://stackblitz.com/edit/rolldown-rolldown-starter-stackblitz-r1n4t3zh?file=antd-demo%2Fvite.config.ts&view=editor
Reproduce step:
- cd
antd-demo
npm run build, current vite.config.ts not use debug option
- edit
vite.config.ts to use debug option
npm run build, watch what time spend at building
What is expected?
use debug option will not affect the final build time.
use debug option will add some time in log file I/O is as excepted, but I think it can not affect the display build time, it will affect my judgment of the build time
What is actually happening?
use debug option make time increases seriously
same code:
without debug option 18.32s
use debug option 5m 10s
System Info
I use stackblitz to make repoduction, so this is stackblitz system info:
System:
OS: Linux 5.0 undefined
CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 0 Bytes / 0 Bytes
Shell: 1.0 - /bin/jsh
Binaries:
Node: 20.19.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.8.2 - /usr/local/bin/npm
pnpm: 8.15.6 - /usr/local/bin/pnpm
This is my own computer system info:
System:
OS: macOS 15.5
CPU: (8) arm64 Apple M1
Memory: 191.27 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.15.0 - ~/.nvm/versions/node/v20.15.0/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 10.7.0 - ~/.nvm/versions/node/v20.15.0/bin/npm
pnpm: 10.13.1 - ~/Library/pnpm/pnpm
bun: 1.1.3 - ~/.bun/bin/bun
Browsers:
Chrome: 139.0.7258.128
Safari: 18.5
Any additional comments?
I think we need use one new thread to handle log file I/O, or maybe make some new change of display build time?
Reproduction link or steps
https://stackblitz.com/edit/rolldown-rolldown-starter-stackblitz-r1n4t3zh?file=antd-demo%2Fvite.config.ts&view=editor
Reproduce step:
antd-demonpm run build, currentvite.config.tsnot usedebugoptionvite.config.tsto usedebugoptionnpm run build, watch what time spend at buildingWhat is expected?
use
debugoption will not affect the final build time.use
debugoption will add some time in log file I/O is as excepted, but I think it can not affect the display build time, it will affect my judgment of the build timeWhat is actually happening?
use
debugoption make time increases seriouslysame code:
without
debugoption 18.32suse
debugoption 5m 10sSystem Info
I use stackblitz to make repoduction, so this is stackblitz system info: System: OS: Linux 5.0 undefined CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 20.19.1 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 10.8.2 - /usr/local/bin/npm pnpm: 8.15.6 - /usr/local/bin/pnpm This is my own computer system info: System: OS: macOS 15.5 CPU: (8) arm64 Apple M1 Memory: 191.27 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.15.0 - ~/.nvm/versions/node/v20.15.0/bin/node Yarn: 1.22.19 - /opt/homebrew/bin/yarn npm: 10.7.0 - ~/.nvm/versions/node/v20.15.0/bin/npm pnpm: 10.13.1 - ~/Library/pnpm/pnpm bun: 1.1.3 - ~/.bun/bin/bun Browsers: Chrome: 139.0.7258.128 Safari: 18.5Any additional comments?
I think we need use one new thread to handle log file I/O, or maybe make some new change of display build time?