Closed Bug 1264536 Opened 8 years ago Closed 8 years ago

[Perf][google docs] 15.16%(1733 ms) slower than Chrome when loading a file with 200+ pages

Categories

(Core :: General, defect)

45 Branch
x86_64
Linux
defect
Not set
minor

Tracking

()

RESOLVED WONTFIX
Tracking Status
platform-rel --- ?

People

(Reporter: askeing, Unassigned)

References

(Depends on 2 open bugs, 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
Large document loading:
Test the loading time of opening a google document with 200+ pages

# Hardware
OS: Ubuntu 14.04 LTS 64-bit
CPU: Intel Core i7-3770 CPU @ 3.40GHz x 8
Memory: 15.6 GB
Hard Drive: 499.1 GB
Graphics: NVIDIA Corporation GF108 [GeForce GT 440] (rev a1)

# Browsers
Firefox version: 45.0
Chrome version: 49.0

# Result
Firefox
Runs | Seconds   | Profiling data        | Contents
1    | 9.711 sec | https://goo.gl/RqU4KI | https://goo.gl/ga6PSu 
2    | 10.022 sec| https://goo.gl/7csbCy | https://goo.gl/IAFzW0 
3    | 9.178 sec | https://goo.gl/y1YbwV | https://goo.gl/j4bqaD 
Avg  | 9.637 sec

Chrome
Runs | Seconds   | Profiling data        | Contents
1    | 7.3 sec   | N/A                   | https://goo.gl/I7mRCq 
2    | 6.7 sec   | N/A                   | https://goo.gl/NWMi8H 
3    | 5.9 sec   | N/A                   | https://goo.gl/W6isLL 
Avg  | 6.633 sec

Reference: bug 1260981 comment#3
Depends on: 1264586
# Test Case
STR
1. Launch the browser with blank page
2. input the google doc url with 200 page 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) (ms)
Firefox | 13166.666666664 
Chrome  | 11433.3333333333
Summary: [Perf][google docs] Load a file with 200+ pages → [Perf][google docs] 15.16% slower than Chrome when loading a file with 200+ pages
Summary: [Perf][google docs] 15.16% slower than Chrome when loading a file with 200+ pages → [Perf][google docs] 15.16%(1733 ms) slower than Chrome when loading a file with 200+ pages
Depends on: 1270056
Depends on: 1270059
Product: Firefox → Core
Version: unspecified → 45 Branch
User Story: (updated)
Update data

#Profiling Data:
https://cleopatra.io/#report=a91297af3f3b8fb59828a3552477b345bd70f519&filter=[{%22type%22%3A%22RangeSampleFilter%22,%22start%22%3A37654,%22end%22%3A45704}]&selection=0,1,10,13,365,403,135,2

#Performance Timing:
http://goo.gl/ih5IBd

{  
 "navigationStart": 1463379879386,  
 "unloadEventStart": 0,  
 "unloadEventEnd": 0,  
 "redirectStart": 0,  
 "redirectEnd": 0,  
 "fetchStart": 1463379879391,  
 "domainLookupStart": 1463379879391,  
 "domainLookupEnd": 1463379879391,  
 "connectStart": 1463379879391,  
 "connectEnd": 1463379879391,  
 "requestStart": 1463379879394,  
 "responseStart": 1463379880036,  
 "responseEnd": 1463379880036,  
 "domLoading": 1463379880039,  
 "domInteractive": 1463379881654,  
 "domContentLoadedEventStart": 1463379882769,  
 "domContentLoadedEventEnd": 1463379882770,  
 "domComplete": 1463379887821,  
 "loadEventStart": 1463379887821,  
 "loadEventEnd": 1463379887830
}

#Test Script:
https://github.com/Mozilla-TWQA/Hasal/blob/master/tests/test_firefox_gdoc_load.sikuli/test_firefox_gdoc_load.py
QA Contact: fatseng
The sample range of Gecko Profiling is [37654, 45705].


8014   100%  Startup::XRE_Main
2311  28.8% ├─ Time::Fire
2286  28.5% │  ├─ js::RunScript
2083  26.0% ├─ nsInputStreamPump::OnInputStreamReady 
1921  24.0% │  ├─ nsInputStreamPump::OnStateStop
> ref: bug 1267971
 112   1.4% │  ├─ nsInputStreamPump::OnStateStart
  50   0.6% │  └─ nsInputStreamPump::OnStateTransfer
1572  19.6% ├─ nsHtml5TreeOpExecutor::RunFlushLoop
1407  17.6% │  ├─ nsJSUtils::EvaluateString
> ref: bug 1270351
            │  └─ ...so on
 629   8.8% ├─ js::RunScrip
            │
            └─ ...so on
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.