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
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
GCASアップデート(202510-202601)
techniczna
0
250
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
0
700
データの整合性を保ちたいだけなんだ
shoheimitani
8
2.9k
GitLab Duo Agent Platform × AGENTS.md で実現するSpec-Driven Development / GitLab Duo Agent Platform × AGENTS.md
n11sh1
0
120
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
320
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
67k
Digitization部 紹介資料
sansan33
PRO
1
6.8k
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
42k
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
200
今日から始めるAmazon Bedrock AgentCore
har1101
4
390
Featured
See All Featured
The Limits of Empathy - UXLibs8
cassininazir
1
210
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Become a Pro
speakerdeck
PRO
31
5.8k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Evolving SEO for Evolving Search Engines
ryanjones
0
120
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
88
Raft: Consensus for Rubyists
vanstee
141
7.3k
Code Review Best Practice
trishagee
74
20k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
250
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
730
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
240
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