Hasal
A performance measurement project for Google Doc, Google Sheet, and Google Slide.
State of this project
We are currently in the middle of phase 2. Close to finish profiler data generation for med priority results. What we do next will be revisit the test case for medium priority test cases and profiler data generation for low priority results.
About this project
We are trying to measure the difference between Firefox and Chrome on high visibility web apps (Google Doc, Google Sheet, Google Slide, etc.)
We use the video recording to record the user actions and extract the frames to get the running time from user perspective. Based on same user actions, we measure the difference between Firefox and Chrome.
Project Plan
Google Doc
Phase 1 (Done)
- Build up a workable framework that can run some manual created test cases
- Trigger actions on browser
- Record video on the background
- Enable profiler on firefox automatically
- Convert the video to image automatically
- Compare images with sample images
- Measure the difference between Firefox and Chrome for sample user actions (40% found between Firefox and Chrome)
Phase 2
- Create test cases based on test matrices
- Create test scripts for high priority cases and execute them
- Generate profiler data for each testing result
- Profiler data for high priority result
- Profiler data for med priority result
- Profiler data for low priority result
- Find out the module and method which cost the most running time
- Go through the whole process from analyzing to provide information
- Framework improvement
- Replace Selenium with Sikuli
- Get the medium value and other statistics
- Support windows and mac
Phase 3
- Create scripts for medium and low priority cases and execute them
- Find out the module and method which cost the most running time
Team
| Name | Email address | |
|---|---|---|
| Shako Ho | sho@mozilla.com | You can contact him to get more project detail. |
| Askeing Yen | askeing@mozilla.com | |
| Cynthia Tang | ctang@mozilla.com | |
| Farmer Tseng | fatseng@mozilla.com | |
| Walter Chen | wachen@mozilla.com |
Working Items
| ID | Component | Summary | Status | Assigned to | Target milestone | Depends on |
|---|---|---|---|---|---|---|
| 1278554 | Graphics: Canvas2D | CanvasRenderingContext2D::DrawImage takes lots of time when scrolling Google Spreadsheet | NEW | --- | 1237058 | |
| 1307024 | General | [Perf] [google docs] Firefox will get 3~9% faster when running gdoc test cases with chrome user agent | NEW | --- | 1321623 |
2 Total; 2 Open (100%); 0 Resolved (0%); 0 Verified (0%);
Setup environment
Testing Framework
Following the steps here [1] to setup the framework. For the time being, only Ubuntu is officially supported as a testing environment; you can use OS X but you'll have to manually solve some package dependency issue. Note that Ubuntu 12.04 and 14.04 is the best-supported testing OS.
Analysis Tool
Following the steps here [2] to setup the tool. For the time being, only Ubuntu is officially supported as a testing environment; you can use OS X but you'll have to manually solve some package dependency issue. Note that Ubuntu 12.04 and 14.04 is the best-supported testing OS.