Boshen
Boshen
The culprit are these three blocking everything, and they take a minute each to compile: I think the macros inside these crates should be done in a script and then...
Codegen is performing really badly for the minifiers:
I wonder if this works: https://github.com/dtolnay/watt
Changing to default codegen-units doesn't help (as seen from above), it's the macros ;-)
I wonder if the macro implementations are sub-optimal, for example https://users.rust-lang.org/t/5-hours-to-compile-macro-what-can-i-do/36508
Assign this to me if you don't have the time, I'll dig deeper.
@nnethercote Thank you so much for looking into this. > how does `rspack` even relate to `swc` The [rspack project](https://github.com/web-infra-dev/rspack) depends on [almost all of swc](https://github.com/web-infra-dev/rspack/blob/main/Cargo.lock#L3450). > I've never seen...
Rspack is currently stuck on an older version due to #7085, I'll report back the improvements once we upgrade to the latest version when that's fixed on our end.
I found [cargo-llvm-lines](https://github.com/dtolnay/cargo-llvm-lines) from [matklad's blog post](https://matklad.github.io/2021/09/04/fast-rust-builds.html#Keeping-an-Eye-on-Instantiations). This can be used to guide your refactoring, e.g. `cargo llvm-lines -p swc_ecma_parser | head -20` ``` Lines Copies Function name ----- ------...
"by design" is pretty soft in Chinese but sounds a bit harsh in English. The intention was to not start the benchmark game from us, but apparently the game has...