TPEPerformance: Difference between revisions
Jump to navigation
Jump to search
(→Ideas) |
|||
Line 4: | Line 4: | ||
* Memory | * Memory | ||
** Nuwa | ** Nuwa | ||
*** Bug 922465 - Automated tests for the Nuwa process. | *** Bug 922465 - Automated tests for the Nuwa process. | ||
*** Bug 930282 - Enable the Nuwa process on B2G by defaut. | *** Bug 930282 - Enable the Nuwa process on B2G by defaut. | ||
*** Bug 938470 - Investigate delaying homescreen launch | *** Bug 938470 - Investigate increasing usable memory on FxOS by delaying homescreen launch. | ||
** swap out anonymous memory with static content of the b2g process | ** swap out anonymous memory with static content of the b2g process | ||
*** https://wiki.mozilla.org/AnonymousPageCache | *** https://wiki.mozilla.org/AnonymousPageCache | ||
Line 21: | Line 19: | ||
*** Bug 944224 - Considerable amounts of images as dataURLs | *** Bug 944224 - Considerable amounts of images as dataURLs | ||
* IPC | * IPC | ||
** Linux/or POSIX aio instead of IO thread | ** Bug 915733 - Linux/or POSIX aio instead of IO thread | ||
** shmem for big data chunks | ** shmem for big data chunks | ||
* Media | * Media | ||
Line 69: | Line 66: | ||
** Bug 926734 - [Flatfish][Profiling]: When starting up Gecko profiling tool, system got hang. | ** Bug 926734 - [Flatfish][Profiling]: When starting up Gecko profiling tool, system got hang. | ||
** Bug 922548 - [Flatfish][Profiling]: Fails to analysis the parsed file for Gecko Profiling tool. | ** Bug 922548 - [Flatfish][Profiling]: Fails to analysis the parsed file for Gecko Profiling tool. | ||
** Bug 940851 - Gecko IPC hangs during boot on jb-gonk. | |||
** Bug 808080 - IPC parent aborts due to too large allocation for infallible array in PContent::Msg_AsyncMessage. | |||
** Bug 807738 - IPC parent aborts with malformed PHttpChannel::Msg_AsyncOpen. | |||
** Bug 781594 - ABORT: not reached: ipc/ipdl/PLayers.cpp, line 4069. | |||
== Ideas == | == Ideas == |
Revision as of 10:08, 28 November 2013
This page is for tracking tasks of the performance team at Mozilla Taipei Office.
Working On
- Memory
- Nuwa
- Bug 922465 - Automated tests for the Nuwa process.
- Bug 930282 - Enable the Nuwa process on B2G by defaut.
- Bug 938470 - Investigate increasing usable memory on FxOS by delaying homescreen launch.
- swap out anonymous memory with static content of the b2g process
- script-sources
- In b2g and homescreen it consumes 4MB ~ 5MB totally.
- In facebook and twitter it consumes ~1.3MB for each.
- Need to investigate the benefits of disabling it under zRam.
- Misc
- Bug 941792 - Make sure decommitting actually works on B2G
- Bug 944224 - Considerable amounts of images as dataURLs
- Nuwa
- IPC
- Bug 915733 - Linux/or POSIX aio instead of IO thread
- shmem for big data chunks
- Media
- Unified buffering
- Launch time of Apps
- Preload JS code with Nuwa
- Precompile JS code with the baseline compiler
- Profiling
- Animations
- use caches for display lists to reduce overhead of nsIFrame::BuildDisplayList()
- Task Tracer
- https://bugzilla.mozilla.org/show_bug.cgi?id=908995
- https://groups.google.com/d/msg/mozilla.dev.b2g/dr3RrYUvP-w/Q51za7NvIWwJ
- Keep the tracks of tasks
- Record how tasks are post among threads & processes
- Remember when tasks are post, dispatched, completed
- Remember relation-ships among tasks
- Task IDs are <otid,sn> pairs (tid is the thread id)
- otid is the thread id of origin site
- The track of a task is a list of <tid>:<otid>:<rtid>:dtime:stime:ftime
- tid is the unique id of the runnable/task. Every task has an unique id.
- rtid is the thread id of running thread
- dtime is the dispatched time
- stime is the start time
- ctime is the finished time
- Task type - names of handlers
- TODOs
- data retrieving tool and protocol
- Integrate it with Cleopatra
- Mark event sources
- App session resuming
- like hibernate
- load an App from storage and restore to the states of last killed.
- XHR Batch Queue API
- https://wiki.mozilla.org/WebAPI/XHRBatch
- Submit a XHR to a queue on the device, the platform will handle the XHR until it is completed
- Notify the App while all XHR on the queue is completed
- The app can check its own queue
- The app can be killed, or being stopped by the user, while XHR is still running.
- The platform will wake up the app while the queue is completed an the app is not running.
- Stability Issues
- Bug 926734 - [Flatfish][Profiling]: When starting up Gecko profiling tool, system got hang.
- Bug 922548 - [Flatfish][Profiling]: Fails to analysis the parsed file for Gecko Profiling tool.
- Bug 940851 - Gecko IPC hangs during boot on jb-gonk.
- Bug 808080 - IPC parent aborts due to too large allocation for infallible array in PContent::Msg_AsyncMessage.
- Bug 807738 - IPC parent aborts with malformed PHttpChannel::Msg_AsyncOpen.
- Bug 781594 - ABORT: not reached: ipc/ipdl/PLayers.cpp, line 4069.
Ideas
- Track JSObjects that fallback to dictionary mode
- Time spent(impaction) on objects of dictionary mode
- For games
- command queue for SVG frames
- Compare loading time for loading from scratch and from dumped image.
- Establish a benchmark to measure memory usage. Refer to AWSY.
- Check how to share data among iframes/tabs from same sources.
- Ion/baseline codes, bytecode, script-source, type, shape, etc.
- Evaluate the code generator for ARM in IonMonkey.
Finished
- Memory
- Reduce CSP cache memory usage.
- bug 897741 Don't put gigantic data URIs in the CSP cache. (8/20)
- Reduce CSP cache memory usage.