[perf] AOT performance regression when "fully instantiated" constant functions are present. #53571
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
P3
A lower priority bug or feature request
triaged
Issue has been triaged by sub team
type-performance
Issue relates to performance or code size
Consider the following results from the micro benchmark at the bottom of this issue description:
Notice how the "on function" variants are significantly slower AOT than JIT.
If we remove the "instantiated" variants from the benchmark, then the measurements are closer to what one would expect.
The presence of the "instantiated" variants causes the "on function • ... • generic" variants to regress heavily when running on the VM AOT (~50ms JIT vs. ~200ms AOT). When the "instantiated" variants are removed from the benchmark, the regression disappears.
AOT
JIT
The text was updated successfully, but these errors were encountered: