Performance/Snappy/2012-01-26
From MozillaWiki
< Performance | Snappy
Snappy Jan. 26 Minutes
Action Items
No outstanding actions
Incoming
- Cheng: Firefox 9 painfully slow site loads https://support.mozilla.org/en-US/questions/906387
- lmandel: will follow up with Cheng about add-ons installed, more details from specific users
- asa: network issues? proxys?
- turn off gfx accel as a test - recent response suggests that this is the culprit
- mccr8: bug 719189 has an example of a page that takes 30 sec to load in 9 (not 8) due to JS
- [action] tab on demand decision https://bugzilla.mozilla.org/show_bug.cgi?id=711193#c34 - gavin
- session restore timing landed
- more work to measure session restore responsiveness - should have data Friday or Monday
- gfx d2d lag - jeff
- need better heuristics to turn it off
- need a plan to make us paint as well as IE
- exit(0) should get added below(bug 662444) - Rafael has been working on this, need help with frontend
- shutdown quickly and properly
- affects places, session restore, etc.
Projects
- Better DOM event/task scheduling - taras, bz, nathan(telemetry)
- bug 712478: Add interactive states(needs owner):
- user-interacting: using is actively scrolling, clicking, entering fullscreen(bug 715592), etc
- user-might-interact: ie mouse moved recently, might be followed by a click, do not schedule low priority timers within 50ms
- bug 715376 & bug 715378: schedule background tab activity to be less disruptive
- bug 715380 to measure above problem + track pro gress (nathan)
- bug 715950 and bug 715953 for timer measurements
- bug 717659 for tracking reflows in background tab
- Avoiding reflowing when scrolling (bug 715584)
- throttle parsing tasks while loading background tabs(html5 parser work bug#)
- jst agrees with bug prioritization, will look at staffing early next week
- Interactivity heuristics - taras, mccr8, bbondy (when available)
- reduce frequency of cycle collector when slow (bug 710496)
- [mccr8] 1/26 update: on hold while waiting for CC pause time reduction work to land
- try to disable cycle collection, gc, while user-interactive (bug 698547)
- have fix ready so that can uplift to aurora if the new scheduling approach doesn't work
- can we similarly delay the GC when it is slow?
- Super-slow-startup investigations - vlad, taras, dietrich
- Main bug bug 701872
- network cache still a problem?
- a lot of slow startups seem to indicate we load pages before we paint: bug 715402
- Did a first pass through Telemetry data from last 1.5 months, blog post forthcoming (needs a bit more thought)
- Front-end - Dietrich
- Telemetry - no update, pushing on this at workweek, next week
- Inline autocomplete: bug 566489 - landed
- Session Restore jank meta bug: bug 669034
- Restore-on-demand by default: bug 708585 (needs decision)
- Places: Safari migrator almost done: bug 710259 (partially landed)
- Places: Bookmark importer rewrite in reviews: bug 482911 (needs review mak)
- Places: IE migrator in progress: bug 710895 (needs review mak)
- Async addDownload: bug 672681 (landed)
- Async Clearing of recent history: bug 699860 (needs owner)
- Async FormAutocomplete in reviews: bug 566746 (needs review dolske)
- move search service to json: bug 699856 (has patches, needs review gavin (?))
- async content preferences: bug 699859 (in reviews)
- don't use file.exists() when not necessary: bug 521264 (has patch, in reviews)
- tab animation issues (metabug): bug 593680
- Clicking quickly at the same location should close multiple tabs: bug 649216 (needs an owner)
- Fix cache - tglek/Nick/ahughes
- [hurley] no voice updates - follow bugs if you're curious
- cache ideas/semi-plans https://groups.google.com/d/topic/mozilla.dev.tech.network/cUqRe8ZZjbA/discussion (feel free to contribute!)
- waiting on locks still an issue (bug 717761)
- cache testing http://groups.google.com/group/mozilla.dev.tech.network/browse_thread/thread/6dfa3e6ebe80c336 https://docs.google.com/spreadsheet/ccc?key=0Amywl0iz5SaydEhwblpOQng1RkpoS09Yakh6NkxoRnc
- Not really BFCache, but some results of Click-through Caching here -> https://docs.google.com/spreadsheet/ccc?key=0AmkRt0ylPb8zdGxPRDhUbGdoM3lwd3JQNXY3bW5nNHc&hl=en_US#gid=0
- lmandel: follow up on automating tests of page loading with other browsers.
- Profiler - jrmuizel
- Have plans to get samples associated with document urls
- sfink is investigating interleaving C++/JS stack in profiling unwind
- Significant improvement to the front end, full featured on Mac with profiling-nightly builds
- BenWa: Filed bug 719530
- about:jank - jrmuizel
- https://addons.mozilla.org/en-US/firefox/addon/aboutjank/ - It should be a little bit usable as is
- Paint telemetry - jrmuizel
- No update
- Nondestructive chromehang - vlad
- First draft complete bug 712109 (patch not landed yet)
- Getting PCs from stack + module addresses & PDB signatures
- Client-side reporting of chrome hang stacks + module PDB signatures done. Offline symbolication of stacks works.
- Make a symbolication web app?
- Snappy Scrolling - Jared
- 1/26 update: Can Ehsan take bug 702463? bug 710373 is waiting on feedback from roc. bug 206438 needs an owner, Jared might be able to take it in a week or two, but probably won't have time sooner.
- need to find an owner for bug 702463 (Ehsan?)
- bug 710372
- (add backend dependencies)
- Scrolling UX Gripes
- Scrolling is worse than opera(acceleration, smoothness, and bounce) - (roc)
- Turn smooth scrolling off for mousewheel or investigate
- Smoothscroll should be replaced by 'smoothwheel' extension - Bug 206438 (needs an
- Suppress synthetic mouse events due to scrolling until the scroll is complete Bug 675015 - Fixed by tnikkel
- Turn on smooth scrolling (turn on on nightlies 198964) - Fixed
- make sure high res mousewheel scrolling is hooked up on all platforms
- tweak how far we scroll, physics
- hook smooth scrolling to refresh driver(smooth scrolling code needs to be updated to not do this separately) - Bug 702463 - (jwir3 has said he can take it but doesn't have much time, maybe Ehsan?)
- track scrolling performance(roc?)
- Make a video to demonstrate the problem
- cameron has been fixing touchpad
- keyboard repeat drives scrolling rate
- clicking on down arrow button on scrollbar should move a larger distance -Bug 710373 - in progress by Jared, waiting on feedback from roc
- Scrolling is worse than opera(acceleration, smoothness, and bounce) - (roc)
- Peptest - mcote
- sadly removed from try, since
- some tests were accessing the network (bug 719618), generic fix in progress, should only take another day or so
- problems with mozharness (bug 719511), eta on fix unknown
- Font chromehang fixes - John
- collection of bugs found when turned on chromehang
- John will aim to have fix reviewed by aurora branch day - complete?
- Given the value of this fix might land it on aurora - status?
- Jeff will follow up with John to try and get some help for this issue
- Slow SQL Telemetry - Vlad
- slow sql telemetry pushed back to Firefox 12, bug 08962
- Not uplifting to current Aurora, will wait for next branch
- GC pause reduction - billm
- incremental GC (bug 641025), responsiveness telemetry (bug 719492)
- [mccr8] 1/26 update: patches are being reviewed
- CC pause reduction - smaug, mccr8
- reduce size of cc graph (bug 705582, bug 717500)
- [mccr8] 1/26 update: six patches just landed, more on the way https://tbpl.mozilla.org/?rev=38768b0ef1af
- Telemetry updates
- moving closer to making nightly and aurora opt-out - should give us more data
- fix will allow for better channel reporting
- Note
- Next week's meeting will be at the same time - shouldn't be news but may be news given that people will be at the performance work week