Closed Bug 1269948 Opened 8 years ago Closed 8 years ago

[Perf][google docs] 14.31%(3506 ms) slower than Chrome when opening 100 page mix content and undo/redo the keyword replacement

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 4 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

(3 files)

# Test Case
STR
1. Launch the browser with blank page
2. input the google doc url with 100 page content ( 33 image, 33 table, others are txt with keyword)
3. Find the keyword and replace them to Keyword 2
4. undo all the replacement
5. redo all the replace ment
6. 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 | 27994.4444444444 ms
Chrome  | 24488.8888888888 ms
Product: Firefox → Core
Version: unspecified → 45 Branch
User Story: (updated)
QA Contact: sho
do the running time analysis between "navigationStart" and "domLoading"
 456  100%  |- Startup::XRE_Main/
 76   16.7% |  |- js::RunScript/
 57   12.5% |  |- nsRefreshDriver::Tick/
 33   7.2%  |  |  |- PresShell::Paint/
 20   4.4%  |  |  |- PresShell::Flush (Flush_Style)/
 38   8.3%  |  |- nsViewManager::DispatchEvent/
  7   1.5%  |  |- Timer::Fire/
Depends on: 1271512
Do the running time analysis between "domLoading" and "loadEventEnd"
7568  100%  |- Startup::XRE_Main/
2451  32.4% |  |- Timer::Fire/
1877  24.8% |  |- nsInputStreamPump::OnInputStreamReady/
1714  22.6% |  |  |- nsInputStreamPump::OnStateStop/
 113  1.5%  |  |  |- nsInputStreamPump::OnStateStart/
1334  17.6% |  |- nsHtml5TreeOpExecutor::RunFlushLoop/
1153  15.2% |  |  |- nsJSUtils::EvaluateString/
 146  1.9%  |  |  |- EventDispatcher::Dispatch/
 702  9.3%  |  |- nsRefreshDriver::Tick/
 621  8.2%  |  |- js::RunScript/
 153   2%   |  |- nsJSUtils::EvaluateString/
Depends on: 1272567
Depends on: 1272568
Do the running time analysis when replacing all keywords
8623  100%  |- Startup::XRE_Main/
1915  22.2% |  |- Timer::Fire/
1904  22.1% |  |- nsViewManager::DispatchEvent/
1310  15.2% |  |  |- EventDispatcher::Dispatch/
 462  5.4%  |  |- nsRefreshDriver::Tick/
 41   0.5%  |  |- js::RunScript/
Depends on: 1272545
Do the running time analysis when undo action
 149  100%  |- Startup::XRE_Main/
 16   10.7% |  |- nsRefreshDriver::Tick/
 15   10.1% |  |- nsViewManager::DispatchEvent/
 15   10.1% |  |  |- EventDispatcher::Dispatch/
 12   8.1%  |  |- Timer::Fire/
  1   0.7%  |  |- js::RunScript/
Depends on: 1272570, 1272571
Do the running time analysis when redo action
 152  100%  |- Startup::XRE_Main/
 12   7.9%  |  |- nsViewManager::DispatchEvent/
 12   7.9%  |  |  |- EventDispatcher::Dispatch/
  2   1.3%  |  |- Timer::Fire/
  1   0.7%  |  |- nsRefreshDriver::Tick/
  1   0.7%  |  |- js::RunScript/
Depends on: 1272575
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: