Skip to content

Lazy load xmlbuilder and chokidar#666

Merged
lydell merged 1 commit into
masterfrom
lazy-load-heaviest-modules
Jul 6, 2026
Merged

Lazy load xmlbuilder and chokidar#666
lydell merged 1 commit into
masterfrom
lazy-load-heaviest-modules

Conversation

@lydell

@lydell lydell commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Inspired by #658

xmlbuilder and chokidar take 10–20 ms each to load, while most core modules take less than 1 ms. Those two are only used in specific cases: junit report, and watch mode. Lazy loading those is very simple and gives a tiny performance boost to all use cases where they are not needed.

@lydell lydell merged commit b56d8c1 into master Jul 6, 2026
23 checks passed
@lydell lydell deleted the lazy-load-heaviest-modules branch July 6, 2026 13:06
@lydell lydell mentioned this pull request Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant