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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Adrien Couque
December 11, 2012
Technology
0
50
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
91
ML Session n°8
acq
0
59
ML Session n°7
acq
0
24
ML Session n°6
acq
0
31
ML Session n°5
acq
0
55
ML Session n°4
acq
0
30
ML Session n°3
acq
0
94
ML Session n°2
acq
1
84
ML Session n°1
acq
0
84
Other Decks in Technology
See All in Technology
StrandsとNeptuneを使ってナレッジグラフを構築する
yakumo
1
100
AI駆動PjMの理想像 と現在地 -実践例を添えて-
masahiro_okamura
1
110
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
370
配列に見る bash と zsh の違い
kazzpapa3
1
130
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.6k
Claude_CodeでSEOを最適化する_AI_Ops_Community_Vol.2__マーケティングx_AIはここまで進化した.pdf
riku_423
2
530
変化するコーディングエージェントとの現実的な付き合い方 〜Cursor安定択説と、ツールに依存しない「資産」〜
empitsu
4
1.3k
Digitization部 紹介資料
sansan33
PRO
1
6.8k
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.3k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
20260204_Midosuji_Tech
takuyay0ne
1
140
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
96
14k
Chasing Engaging Ingredients in Design
codingconduct
0
110
Code Reviewing Like a Champion
maltzj
527
40k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
The Pragmatic Product Professional
lauravandoore
37
7.1k
Everyday Curiosity
cassininazir
0
130
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Statistics for Hackers
jakevdp
799
230k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
49
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Balancing Empowerment & Direction
lara
5
880
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