Closed Bug 1269691 Opened 9 years ago Closed 8 years ago

[Perf][google docs] 9.93%(1967ms) slower than Chrome when opening 3 page mix content and use wheel to the page end

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

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 ( 1 image, 1 table, others are txt) 3. scroll to the last page (use wheel) 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 | 21777.7778 ms Chrome | 19811.1111 ms
Product: Firefox → Core
Version: unspecified → 45 Branch
User Story: (updated)
# HAR File: The HAR file is in the attachment # Profiling Data: https://cleopatra.io/#report=5bfbccb9345e63fa075b8d14630a1a450f707c35 # Performance Timing: http://goo.gl/Rnk4k4 { "navigationStart": 1463468293224, "unloadEventStart": 0, "unloadEventEnd": 0, "redirectStart": 0, "redirectEnd": 0, "fetchStart": 1463468293229, "domainLookupStart": 1463468293229, "domainLookupEnd": 1463468293229, "connectStart": 1463468293229, "connectEnd": 1463468293229, "requestStart": 1463468293244, "responseStart": 1463468293777, "responseEnd": 1463468293777, "domLoading": 1463468293780, "domInteractive": 1463468295150, "domContentLoadedEventStart": 1463468296053, "domContentLoadedEventEnd": 1463468296053, "domComplete": 1463468300629, "loadEventStart": 1463468300629, "loadEventEnd": 1463468300637 } # Test Script: https://github.com/Mozilla-TWQA/Hasal/blob/master/tests/test_firefox_gdoc_read_cursormove_3.sikuli/test_firefox_gdoc_read_cursormove_3.py sys.path.append(sys.argv[2]) import browser import common import gdoc com = common.General() ff = browser.Firefox() gd = gdoc.gDoc() ff.clickBar() ff.enterLink(sys.argv[3]) sleep(5) gd.wait_for_loaded() ff.profilerMark_3() wheel(Pattern("pics/doc_content_left_top_page_region.png").similar(0.85), WHEEL_DOWN, 100) ff.profilerMark_3() gd.deFoucsContentWindow()
# Try to identify the time between "domLoading" to "loadEventEnd" Perf Timing: navigationStart to loadEventEnd = 7413 ms domLoading to loadEventEnd: 7413 - 556 = 6857 ms AddOn Start to End mark: 40364 - 33582 = 6782 ms Profiler: https://cleopatra.io/#report=08a0c6773583e3d9b0c07d70fbde628b814e3720&filter=%5B%7B%22type%22%3A%22RangeSampleFilter%22,%22start%22%3A33482,%22end%22%3A40464%7D%5D From Gecko Profiling data, the Range [33482, 40465]: 6912 100.0% Startup::XRE_Main 1844 26.7% ├─ nsInputStreamPump::OnInputStreamReady 1645 23.8% │ ├─ nsInputStreamPump::OnStateStop 141 2.0% │ ├─ nsInputStreamPump::OnStateStart 58 0.8% │ └─ nsInputStreamPump::OnStateTransfer │ 1825 26.4% ├─ Timer::Fire 1795 26.0% │ ├─ js::RunScript │ └─ ...so on │ 1048 27.3% ├─ nsHtml5TreeOpExecutor::RunFlushLoop 870 12.6% │ ├─ nsJSUtils::EvaluateString │ └─ ...so on └─ ...so on Note 1. Filed Bug 1267971 for tracking "nsInputStreamPump::OnStateStop" 2. Filed Bug 1271914 for tracking "js::RunScript" 3. Filed Bug 1270351 for tracking "nsJSUtils::EvaluateString"
Depends on: 1267971, 1271914, 1270351
# Try to identify the time for scrolling to the end of a document Perf Timing: Perf Mark #3 to Perf Mark #4: 54169 - 48096 = 6073 ms Profiler: https://cleopatra.io/#report=08a0c6773583e3d9b0c07d70fbde628b814e3720&filter=%5B%7B%22type%22%3A%22RangeSampleFilter%22,%22start%22%3A48086,%22end%22%3A54179%7D%5D From Gecko Profiling data, the Range [48086, 54179]: 6082 100.0% Startup::XRE_Main 2499 41.1% ├─ __poll/bild/eglibc-3GlaMS/eglibc-2.19/io/..sysdeps/unix/syscall-template.S:81 │ 1717 28.2% ├─ nsRefreshDriver::Tick 1258 20.7% │ ├─ PressShell::Paint │ └─ ...so on │ 697 11.5% ├─ nsViewManager::DispatchEvent 425 7.0% │ ├─ EventDispatcher::Dispatch │ └─ ...so on │ 697 11.5% ├─ Timer::Fire 657 10.8% │ ├─ js::RunScript │ └─ ...so on └─ ...so on Note: Filed Bug 1274053 for tracking "PressShell::Paint"
Depends on: 1274053
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: