-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Scala 2 forwardport: -Yprofile-trace
#19897
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
Conversation
3eeaa3d to
8c55116
Compare
|
@keynmol petition here |
|
YES YES YES PLEASE |
880e2a7 to
70523b7
Compare
|
@nicolasstucki I think you we're doing the original backport of |
-Yprofile-trace-Yprofile-trace
16795d6 to
6eb6a23
Compare
cc05d6a to
72d5e0e
Compare
|
I needed to rebase the PR which is not good news for the reviewing. The improvements after the first review round start with 592a892 |
Adapt PresentationCompiler to always set (by default noop) profiler
…unId instead of 2
…ns and to match the store non-nullable signature
…-enabled. Allow to define dependencies in String/Phase settings (previously unused)
…by appending GC events after profiling is done.
…ems with scala2-library-bootstrapped compilation
dc9766c to
718af3a
Compare
|
test performance please |
|
performance test scheduled: 1 job(s) in queue, 1 running. |
|
Performance test finished successfully: Visit https://dotty-bench.epfl.ch/19897/ to see the changes. Benchmarks is based on merging with main (3097a84) |
* Scala 2 tracing profiler backport from scala/scala#7364 extended with more Scala 3 idiomatic syntax based on inlined methods * Fixes the `context.profiler` which could have been `null`, now it's initially a NoOp Profiler * Check dependencies of `-Yprofile-enabled` dependent tasks, now we get an error if `-Yprofile-trace` is set without `-Yprofile-enabled`
* Scala 2 tracing profiler backport from scala/scala#7364 extended with more Scala 3 idiomatic syntax based on inlined methods * Fixes the `context.profiler` which could have been `null`, now it's initially a NoOp Profiler * Check dependencies of `-Yprofile-enabled` dependent tasks, now we get an error if `-Yprofile-trace` is set without `-Yprofile-enabled` [Cherry-picked ecc332f][modified]
* Scala 2 tracing profiler backport from scala/scala#7364 extended with more Scala 3 idiomatic syntax based on inlined methods * Fixes the `context.profiler` which could have been `null`, now it's initially a NoOp Profiler * Check dependencies of `-Yprofile-enabled` dependent tasks, now we get an error if `-Yprofile-trace` is set without `-Yprofile-enabled`
* Scala 2 tracing profiler backport from scala/scala#7364 extended with more Scala 3 idiomatic syntax based on inlined methods * Fixes the `context.profiler` which could have been `null`, now it's initially a NoOp Profiler * Check dependencies of `-Yprofile-enabled` dependent tasks, now we get an error if `-Yprofile-trace` is set without `-Yprofile-enabled` [Cherry-picked ecc332f][modified]
context.profilerwhich could have beennull, now it's initially a NoOp Profiler-Yprofile-enableddependent tasks, now we get an error if-Yprofile-traceis set without-Yprofile-enabled