Closed
Bug 1269687
Opened 9 years ago
Closed 8 years ago
[Perf][google docs] 25.61%(2106 ms) slower than Chrome when opening 1 page txt content
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
platform-rel | --- | ? |
People
(Reporter: sho, Unassigned)
References
(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
# Test Case
STR
1. Launch the browser with blank page
2. input the google doc url with 1 page txt content
3. 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 | 10327.7777777777 ms
Chrome | 8222.22222222221 ms
Blocks: Meta-Hasal-GDoc
Updated•9 years ago
|
Product: Firefox → Core
Updated•9 years ago
|
Version: unspecified → 45 Branch
Comment 1•9 years ago
|
||
# Test Case
1. Launch the browser with blank page
2. Input the google doc url with 1 pages txt content
https://goo.gl/i2ax6v
3. Close the browser
# Profiling Data:
https://cleopatra.io/#report=dffdac12569aeb3a646afbbae08d45c34c035938
# Performance Timing:
http://goo.gl/obqQmx
{ "navigationStart": 1463041820680,
"unloadEventStart": 0,
"unloadEventEnd": 0,
"redirectStart": 0,
"redirectEnd": 0,
"fetchStart": 1463041820684,
"domainLookupStart": 1463041820684,
"domainLookupEnd": 1463041820684,
"connectStart": 1463041820684,
"connectEnd": 1463041820684,
"requestStart": 1463041820687,
"responseStart": 1463041821037,
"responseEnd": 1463041821037,
"domLoading": 1463041821041,
"domInteractive": 1463041821996,
"domContentLoadedEventStart": 1463041822872,
"domContentLoadedEventEnd": 1463041822873,
"domComplete": 1463041825806,
"loadEventStart": 1463041825806,
"loadEventEnd": 1463041825813
}
# Test Script:
https://github.com/Mozilla-TWQA/Hasal/blob/master/tests/test_firefox_gdoc_read_basic_txt_1.sikuli/test_firefox_gdoc_read_basic_txt_1.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()
gd.deFoucsContentWindow()
QA Contact: ctang
Comment 2•9 years ago
|
||
# Try to identify the time between "navigationStart" and "loadEventEnd"
Perf Timing:
navigationStart to loadEventEnd = 5133 ms
domLoading to loadEventEnd: 5133 - 361 = 4772 ms
AddOn Start to End mark: 37360 - 32671 = 4689 ms
Profiler: https://goo.gl/7jWv27
From Gecko Profiling data, the Range [31845, 37482]:
5586 100.0% Startup::XRE_Main
1598 28.6% ├─ nsInputStreamPump::OnInputStreamReady
1425 25.5% │ ├─ nsInputStreamPump::OnStateStop
119 2.1% │ ├─ nsInputStreamPump::OnStateStart
54 1.0% │ └─ nsInputStreamPump::OnStateTransfer
│
947 17.0% ├─ nsHtml5TreeOpExecutor::RunFlushLoop
775 13.9% │ ├─ nsJSUtils::EvaluateString
143 2.6% │ ├─ EventDispatcher::Dispatch
│ └─ ...so on
│
808 14.5% ├─ js::RunScrip
727 13.0% │ ├─ js::RunScript
│ └─ ...so on
│
648 11.6% ├─ nsRefreshDriver::Tick
276 4.9% │ ├─ PressShell::Paint
200 3.6% │ ├─ PressShell::Flush (Flush_Style)
│ └─ ...so on
└─ ...so on
Note
1. Filed Bug 1267971 for tracking "nsInputStreamPump::OnStateStop"
2. Filed Bug 1270351 for tracking "nsJSUtils::EvaluateString"
3. Filed Bug 1271914 for tracking "js::RunScript"
4. Filed Bug 1270427 for tracking "nsRefreshDriver::Tick"
Updated•8 years ago
|
Whiteboard: [platform-rel-Google][platform-rel-GoogleDocs]
Updated•8 years ago
|
platform-rel: --- → ?
Comment 3•8 years ago
|
||
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.
Description
•