Skip to content

Dynamic instruction coverage stats (--ujit-stats) #19

@maximecb

Description

@maximecb

We have to increase the proportion of instruction that gets executed in the JIT as opposed to the interpreter, to increase our "JIT coverage", so to speak. In order to do that, it would be really useful to have statistics such as the percentage of instructions executed by JIT over the total number of bytecode instructions executed.

I think it would also be very helpful to know which instructions trigger exits to the interpreter and how often, and display a list sorted by decreasing frequency. That will help us target our efforts to increase coverage.

Additional thoughts:

  • Maximize the readability of the --ujit-stats dump, make it human readable and easy to parse
  • Make it so the output of the dump can easily be converted into a CSV file (space separated) or grabbed by a script

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions