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
WebApp vs Native: Performance analysis
Search
Adrien Couque
December 11, 2012
Technology
0
46
WebApp vs Native: Performance analysis
Adrien Couque
December 11, 2012
Tweet
Share
More Decks by Adrien Couque
See All by Adrien Couque
A roadmap to psychohistory
acq
0
48
ML Session n°8
acq
0
52
ML Session n°7
acq
0
16
ML Session n°6
acq
0
23
ML Session n°5
acq
0
45
ML Session n°4
acq
0
24
ML Session n°3
acq
0
53
ML Session n°2
acq
1
50
ML Session n°1
acq
0
45
Other Decks in Technology
See All in Technology
OCI Security サービス 概要
oracle4engineer
PRO
0
6.6k
LINEヤフーにおけるPrerender技術の導入とその効果
narirou
2
1.5k
生成AIが変えるデータ分析の全体像
ishikawa_satoru
0
270
セキュリティ運用って包括的にできていますか?SaaSを使って次のステップへ / Comprehensive Cyber Security Operations for Cloud Services Using SaaS
sakaitakeshi
0
170
Security-JAWS【第35回】勉強会クラウドにおけるマルウェアやコンテンツ改ざんへの対策
4su_para
0
200
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
150
CysharpのOSS群から見るModern C#の現在地
neuecc
2
3.9k
CDCL による厳密解法を採用した MILP ソルバー
imai448
3
350
SSMRunbook作成の勘所_20241120
koichiotomo
3
190
初心者向けAWS Securityの勉強会mini Security-JAWSを9ヶ月ぐらい実施してきての近況
cmusudakeisuke
0
150
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
3
680
個人でもIAM Identity Centerを使おう!(アクセス管理編)
ryder472
4
250
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
31
6.3k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
440
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Fireside Chat
paigeccino
34
3k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Unsuck your backbone
ammeep
668
57k
Building an army of robots
kneath
302
43k
Code Review Best Practice
trishagee
64
17k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
YesSQL, Process and Tooling at Scale
rocio
169
14k
Designing on Purpose - Digital PM Summit 2013
jponch
115
7k
Transcript
Paris, December 11, 2012 Focus On: WebApp vs Native, Performance
Adrien Couque, Patrick Nollet
Focus On: WebApp vs Native, Performance 2012 • Mobile development
is about UX Which technology should we use?
Focus On: WebApp vs Native, Performance 2012 • Web App
HTML + Javascript Run inside a browser or a web view inside an application (hybrid approach) Few OS-specific UI elements Native Compiled language Run as a standalone program Direct access to the hardware
Focus On: WebApp vs Native, Performance 2012 •
Focus On: WebApp vs Native, Performance 2012 • Performance Bottlenecks
•CPU •Graphics •I/O
Focus On: WebApp vs Native, Performance 2012 • CPU
2012 • Compression Focus On: WebApp vs Native, Performance API
zlib java.util.zip zlib.js 3 Mo pure text ≈ 3.000.000 characters 10 iterations (compression + decompression)
2012 • Compression Focus On: WebApp vs Native, Performance x13
x23
2012 • SHA-1 Focus On: WebApp vs Native, Performance API
CommonCrypto MessageDigest crypto.js (Google)
2012 • SHA-1 Focus On: WebApp vs Native, Performance x360
x180
2012 • Pi Pure arithmetics (additions, multiplications...) Spigot algorithm (Gibbons)
100.000.000 iterations Yields ≈20.000.000 decimals Focus On: WebApp vs Native, Performance
2012 • Pi Focus On: WebApp vs Native, Performance x16
x3
Focus On: WebApp vs Native, Performance 2012 • Graphics Vector
Graphics UI Layout 3D
Focus On: WebApp vs Native, Performance 2012 • Vector Graphics
API Core Graphics Canvas <canvas> Test: Draw a 7-degree Koch snowflake
2012 • Vector Graphics Focus On: WebApp vs Native, Performance
x10 x1.7
Focus On: WebApp vs Native, Performance 2012 • UI Layout
API UICollectionView GridView CSS (float left) Test: display a grid of thumbnails images
2012 • Layout Focus On: WebApp vs Native, Performance x10
x3
Focus On: WebApp vs Native, Performance 2012 • I/O Network
Disk
Focus On: WebApp vs Native, Performance 2012 • SQL queries
API sqlite 3 Web SQL Database (deprecated) Test: Count the occurrences of a word in a book using INSERT and SELECT statements
2012 • SQL Focus On: WebApp vs Native, Performance x1.5
Focus On: WebApp vs Native, Performance 2012 • Real-life examples
Focus On: WebApp vs Native, Performance 2012 • Google Maps
Native Frame Rate: Web Frame Rate: 59 fps 37 fps
Focus On: WebApp vs Native, Performance 2012 • Cut the
Rope Native Frame Rate: Web Frame Rate: 10 fps 58 fps
Paris, December 11, 2012 Applidium 17 rue du Faubourg du
Temple 75010 Paris http://applidium.com Thank you