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
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
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
400
ZOZOにおけるAI活用の現在 ~開発組織全体での取り組みと試行錯誤~
zozotech
PRO
4
4.8k
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
0
320
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
42k
ブロックテーマでサイトをリニューアルした話 / 2026-01-31 Kansai WordPress Meetup
torounit
0
440
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
1
250
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
210
【インシデント入門】サイバー攻撃を受けた現場って何してるの?
shumei_ito
0
1.5k
会社紹介資料 / Sansan Company Profile
sansan33
PRO
15
400k
Tebiki Engineering Team Deck
tebiki
0
24k
Oracle Cloud Observability and Management Platform - OCI 運用監視サービス概要 -
oracle4engineer
PRO
2
14k
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
1
190
Featured
See All Featured
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
54
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
0
270
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
3.9k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
63
Crafting Experiences
bethany
1
46
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
130
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Raft: Consensus for Rubyists
vanstee
141
7.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
80
WCS-LA-2024
lcolladotor
0
440
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