guard_shape_failure side-exits happen way too frequently for benchmarks like optcarrot #715 and liquid-render #714.
It's also now fairly common on benchmarks like lobsters too.
We should:
- Investigate how
guard_shape_failure happens on benchmarks. Try --zjit-trace-exits?
- Address common
guard_shape_failure patterns.
- Is call-threshold or num-profiles too low to profile those shapes?
- Should we recompile the ISEQ if this happens?
guard_shape_failureside-exits happen way too frequently for benchmarks likeoptcarrot#715 andliquid-render#714.It's also now fairly common on benchmarks like lobsters too.
We should:
guard_shape_failurehappens on benchmarks. Try--zjit-trace-exits?guard_shape_failurepatterns.