-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed as not planned
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.triagedIssue has been triaged by sub teamIssue has been triaged by sub teamtype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
Say I do this:
pkg/vm/tool/precompiler2 pkg/_fe_analyzer_shared/test/scanner_benchmark.dart test.aot
out/ReleaseX64/dartaotruntime --enable-vm-service --pause_isolates_on_exit --profiler test.aot pkg/_fe_analyzer_shared/lib/src/parser/parser_impl.dart --bytes
(I have to do the aot compile or the loading of the cpu profile doesn't work: #60041)
and launch devtools. I go to the "CPU Profiler" tab, click "Load all CPU samples" and click "CPU Flame Chart".
The top shows time. Notice how it's already wrong: The computation took ~3 seconds, but it shows - depending on how fast you got here - something else. In my case ~13 seconds:
Then after a while I click the "Load all CPU samples" again, or reload the page (and redo the navigation) it says... more - in my case ~115 seconds:
and hovering something it claims one of the methods have run for 49.9 seconds:
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.triagedIssue has been triaged by sub teamIssue has been triaged by sub teamtype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)


