Skip to content

Enable JIT features for C# performance #379

Open
@cl0ckt0wer

Description

@cl0ckt0wer

Two options that can be enabled for long running processes.
https://devblogs.microsoft.com/dotnet/performance_improvements_in_net_7/#jit

Profile Guided Optimizations:
https://devblogs.microsoft.com/dotnet/conversation-about-pgo/

environment variables to set:

DOTNET_TieredPGO = 1
DOTNET_ReadyToRun = 0

note that DOTNET_TieredPGO doesn’t disable use of R2R images, so if you want the entirety of the core libraries also employing dynamic PGO, you’ll also need to set DOTNET_ReadyToRun=0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions