Skip to content

Optimize CheckSample #76520

@EgorBo

Description

@EgorBo

CheckSample is invoked for each class probe in codegen (when TieredPGO is enabled) and seems to be quite hot, e.g.:
image

Even a simple __rdtsc here seems to speed up start time for an app I'm testing locally.

cc @AndyAyersMS

category:performance
theme:optimization
skill-level:beginner
cost:small
impact:small

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions