Closed Bug 1269676 Opened 8 years ago Closed 8 years ago

[Perf][google docs] 12.03%(2244 ms) slower than Chrome when creating a page table(10x5) and copy paste the content twice

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

(3 files)

# 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 | 20900 ms
Chrome  | 18655.5555555555 ms
Correct STR
1. Launch the browser with blank page
2. input the blank google doc page url 
3. input 1 table (10 x 5)
4. select the table, press copy
5. press paste twice
6. close the browser
Product: Firefox → Core
Version: unspecified → 45 Branch
User Story: (updated)
QA Contact: sho
Attached file Har file
Test script: test_firefox_gdoc_create_copypaste_table_1

This script might have some intermediate failure when pasting tables 

According to the current script we will profile action of creating table first
Do the running time analysis between "domLoading" and "loadEventEnd"
3812  100%  |- Startup::XRE_Main/
1516  39.8% |  |- nsInputStreamPump::OnInputStreamReady/
1372   36%  |  |  |- nsInputStreamPump::OnStateStop/
 97   2.5%  |  |  |- nsInputStreamPump::OnStateStart/
 642  16.8% |  |- js::RunScript/
 623  16.3% |  |- nsHtml5TreeOpExecutor::RunFlushLoop/
 493  12.9% |  |  |- nsJSUtils::EvaluateString/
 111  2.9%  |  |  |- EventDispatcher::Dispatch/
 415  10.9% |  |- nsRefreshDriver::Tick/
 177  21.2% |  |- Timer::Fire/
Depends on: 1270427, 1271913, 1272188
Do the running time analysis when inserting table
4634  100%  |- Startup::XRE_Main/
 767  16.6% |  |- nsViewManager::DispatchEvent/
 761  16.4% |  |  |- EventDispatcher::Dispatch/
 312  6.7%  |  |- nsRefreshDriver::Tick/
 86   1.9%  |  |- Timer::Fire/
Depends on: 1272196
Depends on: 1267971, 1270351
No longer depends on: 1271913, 1272188
Do the running time analysis between "navigationStart" and "domLoading"
 353  100%  |- Startup::XRE_Main/
 75   21.2% |  |- js::RunScript/
 64   18.1% |  |- nsRefreshDriver::Tick/
 48   13.6% |  |  |- PresShell::Paint/
 11   3.1%  |  |  |- PresShell::Flush (Flush_Style)/
 34   9.6%  |  |- nsViewManager::DispatchEvent/
  6   1.7%  |  |- Timer::Fire/
Depends on: 1271512
Depends on: 1272567
No longer depends on: 1267971
Depends on: 1272568
No longer depends on: 1270351
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

Creator:
Created:
Updated:
Size: