Boshen
Boshen
### System Info _No response_ ### Details  With lots of modules and lots of rules, this quickly becomes a performance bottleneck. ### Reproduce link _No response_ ### Reproduce Steps...
## Summary This PR moves code around compilation for easier refactoring later on. ## Related issue (if exists) ## Types of changes - [ ] Docs change / Dependency upgrade...
## Summary Creating parallel iterators on tight cpu loops with closer to cpu memory is useless here, removing these does not affect performance. ## Related issue (if exists) ## Types...
## Summary Code splitting has a hot path on `depended_modules`, this PR caches the result. In a project a with 20k modules, code splitting time is reduced from 6s to...
### What problem does this feature solve? After some profiling I found we are reading binary files (e.g. `mp4`, `webp`, `gif`) which are often quite large. It should be possible...
### Details ### Reproduce Steps `cargo build --release --timings`
### Describe the feature Some of the crates compile ridiculously slow. It would be really nice if we can speed it up a bit. From `cargo build --release --timings`: ...
### What happened? https://github.com/toeverything/AFFiNE/blob/3432f355b0e31637a766f2c81f0d0dcbb1967345/packages/frontend/core/.webpack/config.ts#L143-L146 There are some imports in this repo that are doing non-standard things: https://github.com/toeverything/AFFiNE/blob/3432f355b0e31637a766f2c81f0d0dcbb1967345/packages/common/env/src/global.ts#L6 This causes confusion for toolings, especially for what I'm working on for `oxlint...
Recent releases broke Rspack's tests twice, with confusing runtime error messages like "Value is non of these types `bool`, `String` without context". It was suggested to use `Either4`, but quick...
https://github.com/eslint/eslint/discussions/16557