Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
State of the Mobile Browser
Search
Paul Kinlan
April 25, 2013
Programming
3
190
State of the Mobile Browser
What is the state of the Mobile Browser? Find out in this presentation for State of the Browser.
Paul Kinlan
April 25, 2013
Tweet
Share
More Decks by Paul Kinlan
See All by Paul Kinlan
[this.javascript] State of Chrome
paulkinlan
0
120
Progressive Web Apps in 10 minutes - Google for India
paulkinlan
2
260
Be instant and engaging on the mobile web - Google Mobile for India
paulkinlan
4
260
The future of the web on mobile? - Coldfront conf
paulkinlan
5
55k
This is the Web Platform
paulkinlan
5
64k
The Next Evolution of Chrome Apps - Devoxx 2012
paulkinlan
3
380
Building Web Apps of the future. Tomorrow, today and yesterday.
paulkinlan
32
7.1k
Other Decks in Programming
See All in Programming
日付と正規化
megmogmog1965
0
140
AHC035解説
terryu16
0
730
最古の関数型言語「Lisp」ことはじめ / lisp_in_kamiyama
uhooi
1
190
Rustのweb開発を助ける 便利なツール紹介
yuki0418
1
190
CSC307 Lecture 12
javiergs
PRO
0
220
Introduction to GitOps
hwchiu
0
110
生成AIをkintoneに連携してみた
hideg
0
230
SRE チーム立ち上げ前に考えたこと・取り組んだこと / Considerations and Preparations Before Establishing an SRE Team
mackey0225
3
320
ピグパーティにおけるMongoDB CommunityバージョンからAtlasへの移行事例
10969hotaka
0
130
小さな開発会社を作った理由
polidog
0
1.9k
feature環境をGitHub ActionsとCloudFormationでいい感じに管理する
nealle
2
310
How to use Macrobenchmark
veronikapj
0
160
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
63
4.2k
Writing Fast Ruby
sferik
623
60k
How GitHub (no longer) Works
holman
305
140k
Adopting Sorbet at Scale
ufuk
71
8.8k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.3k
Optimizing for Happiness
mojombo
373
69k
Building a Scalable Design System with Sketch
lauravandoore
458
32k
Fontdeck: Realign not Redesign
paulrobertlloyd
79
5.1k
Speed Design
sergeychernyshev
9
270
How to train your dragon (web standard)
notwaldorf
79
5.5k
Happy Clients
brianwarren
94
6.6k
Producing Creativity
orderedlist
PRO
340
39k
Transcript
State of the Mobile Browser google.com/+PaulKinlan goo.gl/3LyMW
Overview
> 1 Billion users have a modern browser.
Every device has to have a "decent" browser.
The browser is still the most used application.
None
Rounded Corners
Naive Look
What is your mobile traffic?
None
None
None
> 50% "We now have more users engaging with Google+
from mobile than desktop." - IO 2012
Mobile The important bits
2 THINGS
Performance Where do you look?
Developers look at the .... Network (time to glass)
I also think UI Jank (time to frustration)
Lumpiness = Less Engagement
None
They have to hack it up like crazy Its no
longer your father's HTML. • Just a <body /> • Busting DOM Trees into iframes to create layers http://goo.gl/P90PK
Where are the bottlenecks? • Javascript? • DOM manipulation? •
Paint?
It's not just the JS + Re-Layouts. + Re-paints +
Decode time X X
None
None
Go home and measure
[email protected]
Inconsistencies
Wot Consistent Platform?
100% Support Mostly boring stuff
Media Queries 100% onmobile.iwanttouse.com/#css-mediaqueries
Geolocation 86% http://onmobile.iwanttouse.com/#geolocation
Offline http://onmobile.iwanttouse.com/#offline-apps 86%
Native developers build online in
Web developers build offline in
Adding offline is a lot harder than online
Camera Access <input type=file accept=image/jpeg capture> Demo http://jsbin.com/avawaj/1 86%
SVG 80% It would be 100% if not for Android
< 3
Flex Box It would be 100% if not for Android
< 3 80%
WebSQL Database 86%
IndexedDB 3% Reaching 3% of the web you might as
well use any API you want....
Thinking about storage in terms of API's is wrong
WebSockets 86% On mobile use wss (secure sockets)
None
Device Orientation onmobile.iwanttouse.com/#deviceorientation 67% window.ondeviceorientation = function(event) { // process
event.alpha, event.beta and event.gamma }; jsbin.com/ofeces/1
FileReader 66%
requestAnimationFrame 44%
Web Audio onmobile.iwanttouse.com/#audio-api 40%
The following might look depressing
But it's really exciting
Shadow DOM onmobile.iwanttouse.com/#shadowdom 3%
getUserMedia onmobile.iwanttouse.com/#stream 2% jsbin.com/iyekuc/3/quiet navigator.getUserMedia( {audio:true, video: true}, function(stream) {
videoEl.src = URL.createObjectURL(stream); });
WebRTC onmobile.iwanttouse.com/#streams 1% apprtc-m.appspot.com
WebGL http://onmobile.iwanttouse.com/#webgl 1% Demo: dungeonfury.playcanvas.com
CSS Filters http://onmobile.iwanttouse.com/#css-filters 43%? <style> img { -webkit-filter: blur(30px); }
</style> http://jsbin.com/orekeb/2/
CSS Custom Shaders 0%
The mobile web is a rich platform
Go and do moar Awesome