-
Notifications
You must be signed in to change notification settings - Fork 204
Closed
Description
Using mimalloc instead of malloc improves performance significantly.
Pros: Improved performance with a small change
Cons: It will add an external dependency and slightly increase size of QuickJS binaries.
It has been previously added here: openwebf/quickjs#30
Here's the benchmark I ran after replacing:
Benchmark | Master | Mimalloc | Percent Improvement |
---|---|---|---|
DeltaBlue | 605 | 702 | 15.99% |
Crypto | 863 | 906 | 4.98% |
RayTrace | 357 | 963 | 169.33% |
EarleyBoyer | 682 | 1579 | 131.70% |
RegExp | 149 | 220 | 47.65% |
Splay | 736 | 1804 | 145.76% |
SplayLatency | 3088 | 4543 | 47.16% |
NavierStokes | 1511 | 1590 | 5.24% |
PdfJS | 2016 | 2949 | 46.21% |
Mandreel | 604 | 656 | 8.61% |
MandreelLatency | 4803 | 5097 | 6.13% |
Gameboy | 5191 | 5644 | 8.72% |
CodeLoad | 8015 | 13343 | 66.20% |
Box2D | 1905 | 2632 | 38.03% |
Typescript | 7088 | 9413 | 32.75% |
Score (version 9) | 1430 | 2060 | 43.98% |
It could also be opt-in by the way.
paulocoghi, Marcisbee and haigithubpaulocoghi
Metadata
Metadata
Assignees
Labels
No labels