|Deletions are marked like this.||Additions are marked like this.|
|Line 77:||Line 77:|
== Benchmark results ==
=== startup time ===
Launchpad Entry: mobile-lucid-arm-lightweightbrowser
Contributors: Paul Larson, David Sugar, Alexander Sack
Packages affected: ubuntu-netbook-remix
Mozilla Firefox is a fairly heavy web browser and suffers from less than optimal performance on ARM due to issues such as cache size. While trying to optimize the firefox performance even further this cycle, a lightweight browser that has potential to replace firefox feature for ARM based releases will be selected and evaluated. Standard-compliance is essential, along with support for modern browser user experiences such as tabbed browsing, form fill-in, extensions, media playback, Java support, etc. For these reasons, a consensus emerged at UDS in favor of Chromium.
Variant A: To improve the user experience, the Ubuntu Netbook Edition for ARM now ships Google Chromium as a desktop browser. An ARM optimized firefox is still available from software center.
Variant B: firefox is still the default browser and comes with optimized performance by moving to the optimized armv7 instruction set.
There were reports about performance issues during Karmic cycle for firefox. Chromium Browser appears to be a promising candidate as it was designed from ground up with security, speed and size in mind; however, firefox will still be a major player, and hence this spec also defines actions to optimize firefox as much as possible for arm.
Browsing is an essential user experience. This blueprint addresses issues which detract from that experience on small cache arm processors when using Firefox (Karmic).
That we can find an alternative that will still satisfy user needs including access to media (plugins), Java, flash (as it becomes available for Arm), as well as being sufficiently standards-compliant and meeting user expectations of a modern web browser.
That the Firefox user experience is too poor on ARM and cannot be easily fixed.
We will package Chromium for main and add it to the UNE seed. On top we will try to optimize firefox by making use of thumb2 and by optimizing the firefox build even further.
- We need to package Chromium in main and built it successfully for armv7 for Lucid.
- we need to evaluate chromium and file/drive bugs upstream for issues encountered
- ensure that as many errors in testsuite get fixed
- ensure that we have a good runtime experience on a arm UNE desktop
- ensure that most important plugins work (flash, totem, java, etc.)
- Benchmark Firefox and Chromium and prepare a comparsion of both options
- Decide whether we are comfortable to move to chromium
- adjust the UNE seeds based on the outcome of above items.
There may be a patch needed for armv7. If so I am sure upstream adoption will not be a problem.
A few days may be spent optimizing and re-building Firefox.
This may require up to several weeks to build, test, then commit changes to make this happen.
After optimizing Firefox and building Chromium we may not find as great a difference in user experience as anticipated. Worst case we simply continue using Firefox.
The user can export bookmarks from Firefox to migrate to Chromium. Stored account passwords and other aspects cannot be migrated easy, however.
We need to test Chromium on Arm side by side with Firefox to see how well this solves the performance issues we are addressing before committing to change the seed.
There is no UbuntuOne bookmark integration for Chromium at this time.
BoF agenda and discussion
Why does firefox perform poorly on ARM and what should we do about it?
- small cache on arm processors
- memory usage
- availability of plugins
- usability (some plugins do not match certain environments such as touchscreens)
Can firefox be optimized for Ubuntu and/or ARM enough to compensate for performance issues?
- Firefox replacements must support (in order of priority):
- quick on ARM
- UNR/touchscreen/small screen/scrolling
- support for Flash
- good extension support (unless it causes more problems)
- memory usage and performance, what happens when opening lots of instances, lots of tabs, etc
- Responsive upstream
- which webkit, google vs ubuntu libwebkit?
- midori frustrating to use at times
- epiphany limited but works, functional
- uses webkit
- "works" but limited by comparison to firefox
- Konquerer - khtml, huge kde dependencies
- different user experience from firefox
is fast & gtk based
- uses considerably less memory
- Theming issues
- can we improve/optimize firefox/xulrunner? Is there significant improvement gains even possible?
- opinion not significant opportunity
- Determine the status of Java applets [and JIT?] on ARM Cortex-A8
- Chromium on Arm performance
- Chromium build issues on armv7
- Mobile team to initially package Chromium
- investigate with desktop team and security team who will own it, and how to handle updates
- upload to archive (Michael Casadevall)
- investigate test suite on arm
- benchmarking over multiple browsers over all supported platforms