Commit 07a6f35
authored
[wasm-split] Don't use ParallelFunctionAnalysis in scanModule (#9007)
This removes the use of `ParallelFunctionAnalysis` within `scanModule`
(in `computeUsedNames`), which scans `UsedNames` for each module.
I'm not 100% sure why but this improves running time at least for Dart
applications. I also previously tried to use `ParallelFunctionAnalysis`
in other functions but it resulted in slowdown so didn't do it. Maybe
cache locality works against the parallelism.
This reduces running time of acx_gallery (Jul 2026) by 7.8% (30.6s ->
28.2s) essentials by 4.2% (225.1s -> 215.6s).1 parent 081f8cb commit 07a6f35
1 file changed
Lines changed: 5 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | 707 | | |
726 | | - | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
727 | 713 | | |
728 | 714 | | |
729 | 715 | | |
| |||
0 commit comments