-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Cache AppliedType#tryNormalize #14864
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache AppliedType#tryNormalize #14864
Conversation
test performance please |
performance test scheduled: 3 job(s) in queue, 1 running. |
Performance test finished successfully: Visit https://dotty-bench.epfl.ch/14864/ to see the changes. Benchmarks is based on merging with main (8d3083b) |
test performance with #compiletime please |
performance test scheduled: 2 job(s) in queue, 1 running. |
Performance test finished successfully: Visit https://dotty-bench.epfl.ch/14864/ to see the changes. Benchmarks is based on merging with main (8d3083b) |
06bc8d5
to
96e1870
Compare
test performance with #compiletime please |
performance test scheduled: 1 job(s) in queue, 0 running. |
Performance test finished successfully: Visit https://dotty-bench.epfl.ch/14864/ to see the changes. Benchmarks is based on merging with main (3d1d299) |
The failing test is
|
Checking for
Could we use |
if myTryCompiletimeConstantFoldPeriod != ctx.period then | ||
myTryCompiletimeConstantFoldPeriod = ctx.period | ||
myTryCompiletimeConstantFold = tryCompiletimeConstantFoldImpl | ||
myTryCompiletimeConstantFold.nn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: looking at flame charts from the async profiler, it seems that a significant amount of time is spend in .nn
. Probably should avoid using it here.
0582474
to
8eeb070
Compare
test performance please |
performance test scheduled: 1 job(s) in queue, 0 running. |
Performance test finished successfully: Visit https://dotty-bench.epfl.ch/14864/ to see the changes. Benchmarks is based on merging with main (9614fb9) |
test performance with #compiletime please |
performance test scheduled: 4 job(s) in queue, 1 running. |
Performance test finished successfully: Visit https://dotty-bench.epfl.ch/14864/ to see the changes. Benchmarks is based on merging with main (836ed97) |
Done in #15453. |
No description provided.