bnjbvr requested cfallin for a review on PR #1669.
bnjbvr opened PR #1669 from reduce-malloc
to master
:
This set of small changes in the code helps reducing the number of memory allocations, as reported by DHAT, during compilation of
regex-rs.wasm
with aarch64:
#bytes allocated #blocks allocated avg size of block Before 1 086 592 728 2 734 386 397,38 After 1 078 766 780 2 516 317 428,71 So this represents an 8% reduction of the number of allocated memory blocks. This doesn't seem to show any compiler runtime performance improvement, but the whole programs compiles in less than 1.2 seconds on my machine, so it's a bit hard to distinguish what's noise and what's not.
Will need a regalloc.rs bump for https://github.com/bytecodealliance/regalloc.rs/pull/59, so CI will fail.
cfallin submitted PR Review.
cfallin submitted PR Review.
cfallin created PR Review Comment:
tiny nit: s/which/whose/ (and below too)
bnjbvr updated PR #1669 from reduce-malloc
to master
:
This set of small changes in the code helps reducing the number of memory allocations, as reported by DHAT, during compilation of
regex-rs.wasm
with aarch64:
#bytes allocated #blocks allocated avg size of block Before 1 086 592 728 2 734 386 397,38 After 1 078 766 780 2 516 317 428,71 So this represents an 8% reduction of the number of allocated memory blocks. This doesn't seem to show any compiler runtime performance improvement, but the whole programs compiles in less than 1.2 seconds on my machine, so it's a bit hard to distinguish what's noise and what's not.
Will need a regalloc.rs bump for https://github.com/bytecodealliance/regalloc.rs/pull/59, so CI will fail.
bnjbvr merged PR #1669.
Last updated: Nov 22 2024 at 16:03 UTC