You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that the only two binaries we do Native PGO for are clrjit and coreclr (checked on Linux-x64) - I think it should make a difference if we add System.Native and System.Compression (brotli).
Also, I noticed that we don't do instrumentation and PGO consumption on macOS x64. And all arm64 targets but it's a know issue
now compresses/decompresses code slightly faster ~4-7% (depending on the input size, smaller the input - higher the benefit) - I expected more but I guess brotli is already heavily optimized by hands
However, I am not sure I did instrumentation correctly - I feel like it should be done on an unoptimzed code for better info, right? I've done it with -c Release
Reacted by Dan Moseley
ghost added
in-prThere is an active PR which will close this issue when it is merged
However, I am not sure I did instrumentation correctly - I feel like it should be done on an unoptimzed code for better info, right? I've done it with -c Release
I would expect the profile generated with instrumentation to be the same regardless of optimizations enabled (the optimizations should not be changing the semantics of the probes inserted).
However, I am not sure I did instrumentation correctly - I feel like it should be done on an unoptimzed code for better info, right? I've done it with -c Release
I would expect the profile generated with instrumentation to be the same regardless of optimizations enabled (the optimizations should not be changing the semantics of the probes inserted).
Yeah I tested both -O2 and -O0 and noticed zero difference
ghost removed
in-prThere is an active PR which will close this issue when it is merged
Activity
danmoseley commentedon Apr 8, 2022
@agocke which team owns this?
EgorBo commentedon Apr 8, 2022
I can take a look at this myself since I got familiar with how it works last week 🙂
EgorBo commentedon Apr 10, 2022
I hacked this locally for
libSystem.IO.Compression.Native.soand this:now compresses/decompresses code slightly faster ~4-7% (depending on the input size, smaller the input - higher the benefit) - I expected more but I guess brotli is already heavily optimized by hands
However, I am not sure I did instrumentation correctly - I feel like it should be done on an unoptimzed code for better info, right? I've done it with
-c Releasejakobbotsch commentedon Apr 11, 2022
I would expect the profile generated with instrumentation to be the same regardless of optimizations enabled (the optimizations should not be changing the semantics of the probes inserted).
EgorBo commentedon Apr 11, 2022
Yeah I tested both -O2 and -O0 and noticed zero difference