88db201efc
Comparing a before and an after aot-compiled analysis server, running each 25 times, via `pkg/front_end/tool/benchmarker.dart`: ``` out/ReleaseX64/dart pkg/front_end/tool/benchmarker.dart \ --iterations=25 \ --snapshot=pkg/analysis_server/bin/server.aot.1 \ --snapshot=pkg/analysis_server/bin/server.aot.2 \ --arguments="--disable-file-byte-store" \ --arguments="--train-using" \ --arguments="pkg/front_end/lib/" ``` (where `server.aot.1` is an aot-compile without this CL and `server.aot.2` is an aot-compile with this CL) gets this result: ``` msec task-clock:u: -5.2977% +/- 0.4313% (-466.26 +/- 37.96) (8801.11 -> 8334.86) page-faults:u: -2.5748% +/- 0.1648% (-4094.76 +/- 262.07) (159032.16 -> 154937.40) cycles:u: -5.5212% +/- 0.4440% (-2034156211.44 +/- 163567376.21) (36842412971.36 -> 34808256759.92) instructions:u: -8.2456% +/- 0.0556% (-4125031082.64 +/- 27819990.07) (50026884750.04 -> 45901853667.40) branch-misses:u: -4.2637% +/- 2.0984% (-5839704.08 +/- 2873998.26) (136961902.80 -> 131122198.72) seconds time elapsed: -5.2895% +/- 0.4311% (-0.47 +/- 0.04) (8.82 -> 8.35) seconds user: -5.5473% +/- 0.5002% (-0.47 +/- 0.04) (8.46 -> 7.99) Scavenge( new space) goes from 152 to 134 MarkSweep( promotion) goes from 15 to 14 Notice combined GC time goes from 2804 ms to 2707 ms (notice only 1 run each). ``` Change-Id: Ib5070b3c037b30f96bb91b3536d85b85ebe0c30c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/427442 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>