Closed Bug 1268405 Opened 8 years ago Closed 8 years ago

[Perf][google docs] 15.61%(1289 ms) slower than Chrome when loading empty page

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

(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_firefox_gdoc_load.py
https://github.com/Mozilla-TWQA/Hasal/blob/master/tests/test_chrome_gdoc_load.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

(3 files)

# STR
1. Open empty pages google docs
2. After pages loading complete, get the "window.performance.timing.toJSON()"

# OS
Ubuntu 14.04 LTS

# Browser
Firefox 46.0
Chrome 49.0

# Docs
https://docs.google.com/document/d/1YNxUZPc7xB4OtnxnRLMIKlagMzSOh3_uggp2WCz3aww/edit

# Result
Firefox 46.0
============
From navigationStart to loadEventEnd is 3487 ms.
From domloading to loadEventEnd is 2538 ms.
{
  "navigationStart": 1461829977261,
  "unloadEventStart": 0,
  "unloadEventEnd": 0,
  "redirectStart": 0,
  "redirectEnd": 0,
  "fetchStart": 1461829977262,
  "domainLookupStart": 1461829977262,
  "domainLookupEnd": 1461829977343,
  "connectStart": 1461829977343,
  "connectEnd": 1461829977343,
  "requestStart": 1461829977946,
  "responseStart": 1461829978186,
  "responseEnd": 1461829978186,
  "domLoading": 1461829978210,
  "domInteractive": 1461829978876,
  "domContentLoadedEventStart": 1461829978908,
  "domContentLoadedEventEnd": 1461829978908,
  "domComplete": 1461829980747,
  "loadEventStart": 1461829980747,
  "loadEventEnd": 1461829980748
}

Chrome 49.0
===========
From navigationStart to loadEventEnd is 2176 ms.
From domloading to loadEventEnd is 1871 ms.
{
  "navigationStart": 1461834114897,
  "unloadEventStart": 1461834115181,
  "unloadEventEnd": 1461834115184,
  "redirectStart": 0,
  "redirectEnd": 0,
  "fetchStart": 1461834114898,
  "domainLookupStart": 1461834114898,
  "domainLookupEnd": 1461834114898,
  "connectStart": 1461834114898,
  "connectEnd": 1461834114898,
  "secureConnectionStart": 0,
  "requestStart": 1461834114899,
  "responseStart": 1461834115177,
  "responseEnd": 1461834115513,
  "domLoading": 1461834115202,
  "domInteractive": 1461834115884,
  "domContentLoadedEventStart": 1461834115884,
  "domContentLoadedEventEnd": 1461834115884,
  "domComplete": 1461834117073,
  "loadEventStart": 1461834117073,
  "loadEventEnd": 1461834117073
}
Depends on: 1267971
Attached file Chrome_20160428.har
# Test Case
STR
1. Launch the browser with blank page
2. input the google doc url with blank page
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 | 9544.44444444442
Chrome  | 8255.55555555557
Summary: [Perf][google docs] Loading empty page → [Perf][google docs] 15.61%(1289 ms) slower than Chrome when loading empty page
Product: Firefox → Core
Version: 46 Branch → unspecified
Depends on: 1270351
Version: unspecified → 45 Branch
User Story: (updated)
QA Contact: fyen
test_firefox_gdoc_load.py
User Story: (updated)
(In reply to Shako Ho from comment #3)
> # Test Case
> STR
> 1. Launch the browser with blank page
> 2. input the google doc url with blank page
> 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 | 9544.44444444442
> Chrome  | 8255.55555555557

Profiling Data:
https://cleopatra.io/#report=ed49d2432fb35713876c8a12c74c444295e1f755&filter=%5B%7B%22type%22%3A%22RangeSampleFilter%22,%22start%22%3A34356,%22end%22%3A38757%7D%5D&selection=0,1,31

4400  100%  |- Startup::XRE_Main
1589  36.1% |  |- nsInputStreamPump::OnInputStreamReady
1416  32.2% |  |  |- nsInputStreamPump::OnStateStop
 121  2.8%  |  |  |- nsInputStreamPump::OnStateStart
 52   1.2%  |  |  |- nsInputStreamPump::OnStateTransfer
 777  17.7% |  |- js::RunScript
 613  13.9% |  |- nsHtml5TreeOpExecutor::RunFlushLoop
 486  11.0% |  |  |- nsJSUtils::EvaluateString
 572  13.0% |  |- nsRefreshDriver::Tick


Perf Timing: http://goo.gl/vvkvLY
{
  "navigationStart": 1463458212800,
  "unloadEventStart": 0,
  "unloadEventEnd": 0,
  "redirectStart": 0,
  "redirectEnd": 0,
  "fetchStart": 1463458212806,
  "domainLookupStart": 1463458212806,
  "domainLookupEnd": 1463458212806,
  "connectStart": 1463458212806,
  "connectEnd": 1463458212806,
  "requestStart": 1463458212810,
  "responseStart": 1463458213316,
  "responseEnd": 1463458213316,
  "domLoading": 1463458213321,
  "domInteractive": 1463458214010,
  "domContentLoadedEventStart": 1463458214896,
  "domContentLoadedEventEnd": 1463458214897,
  "domComplete": 1463458217772,
  "loadEventStart": 1463458217772,
  "loadEventEnd": 1463458217778
}
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: