commit | d9c6bc0316ada094335419d4c3a4a627f5881f4b | [log] [tgz] |
---|---|---|
author | Sigmund Cherem <sigmund@google.com> | Thu Nov 29 18:09:20 2018 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Thu Nov 29 18:09:20 2018 +0000 |
tree | 759754e9abd2fc8f26f862538ad0ae4bbcb60c9b | |
parent | c7dea39faa76ec1544d3fb0dab27868cba612c3f [diff] |
Improvements to verbose timing data printing. - format is padded and includes % - measure explicitly subtasks of deferred load - use shorter names for other tasks Sample output on swarm: Info: Timings: kernel loader: 1.407s (17.1%) Front end: 0.736s (8.9%) Front end > closures: 0.102s (1.2%) Front end > worldImpact: 0.586s (7.1%) Type inference: 1.143s (13.9%) Deferred Loading: 0.002s (0.0%) Deferred Loading > prepare: 0.002s (0.0%) Enqueue: 0.455s (5.5%) self: 0.914s (11.1%) *self > impl.run: 0.034s (0.4%) self > run: 0.206s (2.5%) self > compileFromKernel: 0.012s (0.1%) self > computeClosedWorld: 0.364s (4.4%) self > processQueue: 0.033s (0.4%) self > emptyQueue: 0.040s (0.5%) self > applyImpact: 0.146s (1.8%) self > work.run: 0.076s (0.9%) SSA builder: 1.002s (12.2%) SSA optimizer: 1.302s (15.8%) SSA optimizer > SsaInstructionSimplifier: 0.421s (5.1%) SSA optimizer > SsaTypeconversionInserter: 0.036s (0.4%) SSA optimizer > SsaRedundantPhiEliminator: 0.012s (0.1%) SSA optimizer > SsaDeadPhiEliminator: 0.010s (0.1%) SSA optimizer > SsaTypePropagator: 0.261s (3.2%) SSA optimizer > SsaCheckInserter: 0.030s (0.4%) SSA optimizer > SsaDeadCodeEliminator: 0.067s (0.8%) SSA optimizer > SsaGlobalValueNumberer: 0.071s (0.9%) SSA optimizer > SsaCodeMotion: 0.024s (0.3%) SSA optimizer > SsaLoadElimination: 0.083s (1.0%) SSA optimizer > SSA value range builder: 0.099s (1.2%) SSA optimizer > SsaSimplifyInterceptors: 0.048s (0.6%) SSA code generator: 0.623s (7.6%) Code emitter: 0.586s (7.1%) Diagnostic handler: 0.001s (0.0%) Change-Id: I4af3ff04954b28ee12354bc79eae517169a3b96e Reviewed-on: https://dart-review.googlesource.com/c/85550 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Sigmund Cherem <sigmund@google.com>
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Visit the dartlang.org to learn more about the language, tools, getting started, and more.
Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.