Closed
Bug 1269671
Opened 8 years ago
Closed 8 years ago
[Perf][google docs] 11.92%(10567ms) slower than Chrome when creating a half page txt and copy paste the content twice
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
platform-rel | --- | ? |
People
(Reporter: sho, 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 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)
(deleted),
text/plain
|
Details |
# 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 | 99233.3333 ms Chrome | 88666.6667 ms
Blocks: Meta-Hasal-GDoc
STR 1. Launch the browser with blank page 2. input the blank google doc page url 3. input txt into google doc (around 200 words, 1200 characters) 4. select the txt just input, press cut 5. press paste twice 6. close the browser
Updated•8 years ago
|
Product: Firefox → Core
Updated•8 years ago
|
Version: unspecified → 45 Branch
Comment 2•8 years ago
|
||
Update data #Profiling Data: https://cleopatra.io/#report=654d6e1deec04c7ea11013629c1cc07b1c585a70 #Test Script: https://github.com/Mozilla-TWQA/Hasal/blob/master/tests/test_firefox_gdoc_create_copypaste_txt_1.sikuli/test_firefox_gdoc_create_copypaste_txt_1.py
QA Contact: fatseng
Comment 3•8 years ago
|
||
Comment 4•8 years ago
|
||
This test case combines two behaviors, one is typing, another is cutting and pasting. So, I tried to figure out which behavior is the big impact. Per I checked video, cutting and pasting don't have big difference with Chrome. For typing, I re-test it several times, sometimes it spent more time than Chrome, sometimes not. Results are not consistent. I watched the screen, typing looked smoothly and didn't see any lagging.
Comment 5•8 years ago
|
||
Add performance mark between typing one character. sys.path.append(sys.argv[2]) import browser import common import gdoc gd = gdoc.gDoc() com = common.General() ff = browser.Firefox() ff.clickBar() ff.enterLink(sys.argv[3]) sleep(5) ff.profilerMark_3() type("A") ff.profilerMark_3() gd.deFoucsContentWindow() #Profile Data https://cleopatra.io/#report=5b337e986d6c82345fb168a3661bc337b6aca92c&filter=[{%22type%22%3A%22RangeSampleFilter%22,%22start%22%3A38085,%22end%22%3A38714},{%22type%22%3A%22RangeSampleFilter%22,%22start%22%3A38202,%22end%22%3A38356}]&selection=0,1,401,12
Comment 6•8 years ago
|
||
I re-test them and found different result. #Test Script: https://github.com/Mozilla-TWQA/Hasal/blob/master/tests/test_firefox_gdoc_create_copypaste_txt_1.sikuli/test_firefox_gdoc_create_copypaste_txt_1.py https://github.com/Mozilla-TWQA/Hasal/blob/master/tests/test_chrome_gdoc_create_copypaste_txt_1.sikuli/test_chrome_gdoc_create_copypaste_txt_1.py # Hardware OS: Ubuntu 14.04 LTS 64-bit CPU: i7-3770 3.4GMhz Memory: 16GB Ram Hard Drive: 1TB SATA HDD Graphics: GF108 [GeForce GT 630] # Browsers Firefox version: 45.0.2 Chrome version: 50.0.2661.86 # Result Browser | Run time (median value) Firefox | 89222 ms Chrome | 88894 ms delta: 328 ms (0.36%)
Comment 7•8 years ago
|
||
I re-test them in another PC. #Test Script: https://github.com/Mozilla-TWQA/Hasal/blob/master/tests/test_firefox_gdoc_create_copypaste_txt_1.sikuli/test_firefox_gdoc_create_copypaste_txt_1.py https://github.com/Mozilla-TWQA/Hasal/blob/master/tests/test_chrome_gdoc_create_copypaste_txt_1.sikuli/test_chrome_gdoc_create_copypaste_txt_1.py # Hardware OS: Ubuntu 14.04 LTS 64-bit CPU: i7-3770 3.4GMhz Memory: 16GB Ram Hard Drive: 1TB SATA HDD Graphics: GF108 [GeForce GT 440] # Browsers Firefox version: 45.0.2 Chrome version: 50.0.2661.86 # Result Browser | Run time (median value) Firefox | 89055 ms Chrome | 89111 ms delta: -56 ms (-0.06%)
Updated•8 years ago
|
Whiteboard: [platform-rel-Google][platform-rel-GoogleDocs]
Updated•8 years ago
|
platform-rel: --- → ?
Comment 8•8 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
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•