Closed Bug 1269662 Opened 8 years ago Closed 8 years ago

[Perf][google docs] 19.91%(9058ms) slower than Chrome when scrolling a file with 200 pages by pressing page down key 100 times

Categories

(Core :: General, defect)

45 Branch
x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED WONTFIX
Tracking Status
platform-rel --- ?

People

(Reporter: sho, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [platform-rel-Google][platform-rel-GoogleDocs])

User Story

You can find all test scripts on github link:
https://github.com/mozilla-twqa/hasal

https://github.com/Mozilla-TWQA/Hasal/blob/master/tests/test_chrome_gdoc_pagedown.py
https://github.com/Mozilla-TWQA/Hasal/blob/master/tests/test_firefox_gdoc_pagedown.py

And you can also find the running script name in comments
for example: 
test scripts: test_chrome_gdoc_create_txt_1
then you can specify the test script name on suite.txt and run it

Attachments

(1 file)

# Test Case
STR
1. Launch the browser with blank page
2. input the google doc url with 3 page content 
3. press page down 3 times
4. close the browser

# Hardware
OS: Ubuntu 14.04 LTS 64-bit
CPU: i7-3770 3.4GMhz
Memory: 16GB Ram
Hard Drive: 1TB SATA HDD
Graphics: GK107 [GeForce GT 640]/ GF108 [GeForce GT 440/630]

# Browsers
Firefox version: 45.0.2
Chrome version: 50.0.2661.75

# Result
Browser | Run time (median value) 
Firefox | 54544.4444444445 ms
Chrome  | 45486.3247863247 ms
Product: Firefox → Core
Version: unspecified → 45 Branch
User Story: (updated)
QA Contact: fyen
User Story: (updated)
# Profiling Data:
https://cleopatra.io/#report=4e44546a74e1a268143fafd93faec783f7267ebe&filter=[{%22type%22%3A%22RangeSampleFilter%22,%22start%22%3A36099,%22end%22%3A100887}]

# Perf Timing: http://goo.gl/CPYDjB
{
  "navigationStart": 1463467090203,
  "unloadEventStart": 0,
  "unloadEventEnd": 0,
  "redirectStart": 0,
  "redirectEnd": 0,
  "fetchStart": 1463467090209,
  "domainLookupStart": 1463467090209,
  "domainLookupEnd": 1463467090222,
  "connectStart": 1463467090222,
  "connectEnd": 1463467090222,
  "requestStart": 1463467090244,
  "responseStart": 1463467090898,
  "responseEnd": 1463467090898,
  "domLoading": 1463467090900,
  "domInteractive": 1463467092722,
  "domContentLoadedEventStart": 1463467093849,
  "domContentLoadedEventEnd": 1463467093849,
  "domComplete": 1463467099581,
  "loadEventStart": 1463467099581,
  "loadEventEnd": 1463467099590
}


# domLoading to loadEventEnd
range [36637, 45043]

8323  100.0% |- Startup::XRE_Main
2598  31.2% |  |- Timer::Fire
2193  26.3% |  |- nsInputStreamPump::OnInputStreamReady
2010  24.1% |  |  |- nsInputStreamPump::OnStateStop
 122  1.5%  |  |  |- nsInputStreamPump::OnStateStart
 61   0.7%  |  |  |- nsInputStreamPump::OnStateTransfer
1768  21.2% |  |- nsHtml5TreeOpExecutor::RunFlushLoop
1593  19.1% |  |  |- nsJSUtils::EvaluateString
 144  1.7%  |  |  |- EventDispatcher::Dispatch
 615  7.4%  |  |- js::RunScript
 543  6.5%  |  |- nsRefreshDriver::Tick
 195  2.3%  |  |- nsJSUtils::EvaluateString


# Page Down 100 times
range [54100, 98600]

44419 100%  |- Startup::XRE_Main
11764 26.5% |  |- nsRefreshDriver::Tick
7691  17.3% |  |  |- PresShell::Paint
2178  4.9%  |  |  |- EventDispatcher::Dispatch
 592  1.3%  |  |  |- js::GCRuntime::collect
8422   19%  |  |- Timer::Fire
2216   5%   |  |- nsViewManager:DispatchEvent
1327   3%   |  |- IPDL::PCompositor::RecvDidComposite
1293  2.9%  |  |- js::RunScript


# Page Down 1 time
range [68200, 68801]

 600  100%  |- Startup::XRE_Main
 315  52.5% |  |- Timer::Fire
 113  18.8% |  |- nsRefreshDriver::Tick
 64   10.7% |  |  |- PresShell::Paint
 25   4.2%  |  |  |- js::GCRuntime::collect
 32   5.3%  |  |- IPDL::PCompositor::RecvDidComposite
 31   5.2%  |  |- nsViewManager:DispatchEvent
 15   2.5%  |  |- js::RunScript
Whiteboard: [platform-rel-Google][platform-rel-GoogleDocs]
platform-rel: --- → ?
Mark as minor case, and marked wontfix in this iteration. Revisit here if necessary.

This bug fixing iteration will focus on critical bug 1264535, bug 1269666, bug 1269684, bug 1269690, bug 1269695, bug 1269698.
Severity: normal → minor
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: