High CPU usage on Google Maps since bbp 485861
Reported by
term...@gmail.com,
Sep 29 2017
|
|||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.0; rv:52.0) Gecko/20100101 Firefox/52.0 Example URL: https://www.google.com/maps/@40.9177601,-73.7866887,3a,75y,344.15h,84.27t/data=!3m6!1e1!3m4!1sQOrWM1_Mm-IaKuFjIhWJHw!2e0!7i13312!8i6656 Steps to reproduce the problem: 1. Go to the URL 2. Try to pan around the screen, notice it's high CPU usage 3. Maximize the screen , repeat #2. Notice high CPU usage What is the expected behavior? The CPU usage should be minimal. For example in the case of my computer it averages 10% typically to pan around. What went wrong? No idea. On my computer it's averaging 50% since 485861. Does it occur on multiple sites: N/A Is it a problem with a plugin? N/A Did this work before? Yes Does this work in other browsers? Yes Chrome version: 61.0.3163.100 Channel: stable OS Version: 6.1 Flash Version: Has bisect but there are quite a few commits and I don't see a likely suspect. You are probably looking for a change made after 485825 (known good), but no later than 485861 (first known bad). CHANGELOG URL: https://chromium.googlesource.com/chromium/src/+log/834ed117a4b677e9868556b8d7ad8d2aeb622413..2278ffaff83a13e52290b5464f6a0ada75520506 Bisect was done like this: python chrome-bisect-builds.py -a win -g 464648 -b 488528 --use-local-cache --verify-range -- --no-first-run --force-device-scale-factor=1 "https://www.google.com/maps/@40.9177601,-73.7866887,3a,75y,344.15h,84.27t/data=!3m6!1e1!3m4!1sQOrWM1_Mm-IaKuFjIhWJHw!2e0!7i13312!8i6656"
,
Oct 4 2017
For the sake of comparison Firefox ESR averages 9% and their latest Nightly averages 12% (content+main process).
,
Oct 4 2017
From the bisect range provided above, could this be related to this change: Change Log: https://chromium.googlesource.com/chromium/src/+log/a87cc6b7d71388830b2c56fdc188dddb9b6ef9c1..48b272671a15f02ae84cfb147c793467731eeb5f https://chromium.googlesource.com/chromium/src/+/1dc1c0e1ced508a0545d59cc55dbc4d16d7a8cd3 @ vmpstr: Looping you, request you to please take a look into it. Please help us to find an owner if not with respect to your change. Thanks.!
,
Nov 27 2017
vmpstr@ Can you please look into this issue and provide an update in ref to comment #3. Thanks..
,
Dec 25 2017
Attached is another example with sharex.com. It is probably temporary because their theme is snow for the season. When I maximize the window the tab eats a lot of CPU. In Firefox it only eats 12%. So maybe it's some bad javascript but in Chrome it's much worse. python bisect-builds2.py -a win -g 464648 -b 508578 --use-local-cache --verify-range -- --no-first-run --disable-default-apps --no-default-browser-check --start-maximized --force-device-scale-factor=1 https://getsharex.com/ The first jump from about 15% total to 35% total is here: Bisect info: 485825 (good) - 485861 (bad) https://chromium.googlesource.com/chromium/src/+log/834ed117..2278ffaf And the second jump I couldn't determine because chromium task manager kept giving wrong values like 3% or 4% even though it was eating 50%. I marked a bunch of builds as unknown but I just can't continue it's taking too long.
,
Dec 25 2017
Thank you for providing more feedback. Adding requester "ranjitkan@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Feb 2 2018
Here's another one but I'm not sure if it's the same issue. https://www.shipmap.org/ Chrome 64.0.3282.119 - 2% CPU main process, 40% secondary process. Firefox also uses a lot of CPU for that website. https://bugzilla.mozilla.org/show_bug.cgi?id=1435173
,
Feb 20 2018
As per latest comment#7 checked issue on latest stable 64.0.3282.167, on latest canary 66.0.3350.0 using Mac 10.13.3, Ubuntu 14.04 and Windows 10 with shipmap.org. CPU varies from 1.3 and some times it reaches 13. This issue is seen from M60. Hence considering this issue as Non-Regression and marking as Untriaged. Issue is seen in firefox as well. Thanks!
,
Mar 2 2018
Bruce, sending to you for triage since the initial report is on Windows.
,
Mar 2 2018
,
Mar 2 2018
This looks related to crbug.com/769677 which was found to be using color profiles on Windows - see crrev.com/c/564392, which is found in the initial bisect. Adding ccameron@ for comment. CPU sampling data suggests that most of the time in the initial Google Maps URL when scrolling around is from v8, so crrev.com/c/567623 seems like a good possibility also. Adding machenbach@ for comment. The sampled data below is a bit tough to follow but it shows 1842 samples in the renderer process (one sample per millisecond, over 4.66 s) with 544 of those inside v8::internal::compiler::PipelineImpl::OptimizeGraph and its descendants. I tested on stable (M64). Line #, Process, Stack, Count 1, chrome.exe (13876), , 1842 2, , [Root], 1837 3, , |- ntdll.dll!RtlUserThreadStart, 1012 4, , | kernel32.dll!BaseThreadInitThunk, 1012 5, , | |- chrome_child.dll!base::`anonymous namespace'::ThreadFunc, 845 6, , | | |- chrome_child.dll!base::internal::SchedulerWorker::Thread::ThreadMain, 576 7, , | | | chrome_child.dll!base::internal::TaskTracker::RunNextTask, 576 8, , | | | chrome_child.dll!base::internal::TaskTracker::RunOrSkipTask, 576 9, , | | | |- chrome_child.dll!base::debug::TaskAnnotator::RunTask, 575 10, , | | | | |- chrome_child.dll!v8::internal::OptimizingCompileDispatcher::CompileTask::RunInternal, 566 11, , | | | | | chrome_child.dll!v8::internal::OptimizingCompileDispatcher::CompileNext, 566 12, , | | | | | |- chrome_child.dll!v8::internal::CompilationJob::ExecuteJob, 565 13, , | | | | | | chrome_child.dll!v8::internal::compiler::PipelineCompilationJob::ExecuteJobImpl, 565 14, , | | | | | | |- chrome_child.dll!v8::internal::compiler::PipelineImpl::OptimizeGraph, 544 15, , | | | | | | | |- chrome_child.dll!v8::internal::compiler::PipelineImpl::ScheduleAndSelectInstructions, 267 16, , | | | | | | | |- chrome_child.dll!v8::internal::compiler::EffectControlLinearizationPhase::Run, 63 17, , | | | | | | | |- chrome_child.dll!v8::internal::compiler::LoadEliminationPhase::Run, 38 18, , | | | | | | | |- chrome_child.dll!v8::internal::compiler::EscapeAnalysisPhase::Run, 37 19, , | | | | | | | |- chrome_child.dll!v8::internal::compiler::LateOptimizationPhase::Run, 34 20, , | | | | | | | |- chrome_child.dll!v8::internal::compiler::PipelineImpl::Run<v8::internal::compiler::SimplifiedLoweringPhase>, 27 21, , | | | | | | | |- chrome_child.dll!v8::internal::compiler::EarlyOptimizationPhase::Run, 25 22, , | | | | | | | |- chrome_child.dll!v8::internal::compiler::StoreStoreEliminationPhase::Run, 16 23, , | | | | | | | |- chrome_child.dll!v8::internal::compiler::LoopPeelingPhase::Run, 12 24, , | | | | | | | |- chrome_child.dll!v8::internal::compiler::MemoryOptimizationPhase::Run, 10 25, , | | | | | | | |- chrome_child.dll!v8::internal::compiler::GenericLoweringPhase::Run, 7 26, , | | | | | | | |- chrome_child.dll!v8::internal::compiler::ControlFlowOptimizationPhase::Run, 6 27, , | | | | | | | |- chrome_child.dll!v8::internal::compiler::ZoneStats::ReturnZone, 1 28, , | | | | | | | |- chrome_child.dll!v8::internal::compiler::ZoneStats::NewEmptyZone, 1 29, , | | | | | | |- chrome_child.dll!v8::internal::compiler::PipelineImpl::AssembleCode, 21
,
Mar 2 2018
I don't see many suspicious CLs in https://chromium.googlesource.com/v8/v8/+log/cc60e4e3..4f9afdad CC some of the authors.
,
Mar 5 2018
My change affects only test mode with --stress-incremental-marking flag. "[heap] Fix infinite GC loop in stress incremental marking mode."
,
Mar 5 2018
,
Mar 5 2018
The only relevant change by me would be 7b08031 but it's reverted in the same roll.
,
Mar 5 2018
Thanks, neis@. Based on #11, assigning to the current V8 performance sheriff for proper triaging.
,
Nov 21
*** UI Mass Triage *** Closing, since there is no updates since the past few weeks. If you feel this issue should still be addressed, feel free to reopen it or to file a new issue. |
|||||||||||
►
Sign in to add a comment |
|||||||||||
Comment 1 by term...@gmail.com
, Oct 4 2017