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

RESOLVED WONTFIX

Status

()

--
minor
RESOLVED WONTFIX
3 years ago
3 years ago

People

(Reporter: sho, Unassigned)

Tracking

(Depends on: 4 bugs, Blocks: 1 bug)

45 Branch
x86
Linux
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(platform-rel ?)

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 attachments)

(Reporter)

Description

3 years ago
# 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
(Reporter)

Updated

3 years ago
Blocks: 1260981

Updated

3 years ago
Component: General → General
Product: Firefox → Core

Updated

3 years ago
Version: unspecified → 45 Branch
(Reporter)

Updated

3 years ago
User Story: (updated)
(Reporter)

Updated

3 years ago
QA Contact: sho
(Reporter)

Comment 2

3 years ago
Created attachment 8752034 [details]
Gecko profiler 1 ms interval
(Reporter)

Comment 3

3 years ago
Created attachment 8752035 [details]
performance timing object
(Reporter)

Comment 4

3 years ago
Created attachment 8752036 [details]
test_firefox_gdoc_update_undoredo_100_1463109404.har
(Reporter)

Comment 5

3 years ago
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/
(Reporter)

Updated

3 years ago
Depends on: 1271512
(Reporter)

Comment 6

3 years ago
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/
(Reporter)

Updated

3 years ago
Depends on: 1272567
(Reporter)

Updated

3 years ago
Depends on: 1272568
(Reporter)

Comment 7

3 years ago
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/
(Reporter)

Updated

3 years ago
Depends on: 1272545
(Reporter)

Comment 8

3 years ago
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/
(Reporter)

Updated

3 years ago
Depends on: 1272570, 1272571
(Reporter)

Comment 9

3 years ago
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/
(Reporter)

Updated

3 years ago
Depends on: 1272575
Whiteboard: [platform-rel-Google][platform-rel-GoogleDocs]
platform-rel: --- → ?

Comment 10

3 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
Last Resolved: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.