dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.56k stars 4.54k forks source link

Speed up the far back end of the JIT #6752

Open pkukol opened 7 years ago

pkukol commented 7 years ago

The "Emit code" and "Emit GC+EH tables" phases of the JIT take up to 15% of total compile time which seems pretty high (this is esp. critical for the MinOpts path). Look for opportunities to speed these up.

category:throughput theme:throughput skill-level:expert cost:large

pgavlin commented 7 years ago

Have we done any deeper analysis of this s.t. we can tell roughly where this time is going?

mikedn commented 7 years ago

Is dotnet/coreclr#9231 related to this?

pgavlin commented 7 years ago

Is dotnet/coreclr#9231 related to this?

Yes, it was related to this issue.

TIHan commented 8 months ago

As with https://github.com/dotnet/runtime/issues/6751, it would be interesting to re-evaluate this considering many improvements have been made since 2016/2017.