-
Notifications
You must be signed in to change notification settings - Fork 818
Open
Description
Firstly: yay, thank you for fixing the control-flow values issue in the parser! Binaryen can now work on Hoot's binaries. Thank you thank you!
I noticed a performance bug that you may be interested in, for -Oz.
| optimization level | bytes | real time | user time |
|---|---|---|---|
| original | 5485027 | - | - |
-O0 |
5835468 | 0.74s | 1.18s |
-O1 |
4810648 | 2.96s | 65s |
-O2 |
4664753 | 5.34s | 104s |
-Os |
4378817 | 806s | 1081s |
-Oz |
4278988 | 804s | 1103s |
This is a 32-logical-cpu system. As you can see, -Os / -Oz don't parallelize very well, and takes a bit too long to get useful results.
I can provide the test file, should that be of interest, though github doesn't seem to want to attach it. Enabled features are --enable-bulk-memory --enable-multivalue --enable-reference-types --enable-gc --enable-tail-call --enable-exception-handling.
Metadata
Metadata
Assignees
Labels
No labels