Skip to content

ZJIT: guard_shape_failure happens too frequently on ruby-bench #727

Description

@k0kubun

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:

  1. Investigate how guard_shape_failure happens on benchmarks. Try --zjit-trace-exits?
  2. 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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions