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
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
550
Webhook best practices for rock solid and resilient deployments
glaforge
1
260
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
430
日本語テキストと音楽の対照学習の技術とその応用
lycorptech_jp
PRO
1
420
We Built for Predictability; The Workloads Didn’t Care
stahnma
0
130
AzureでのIaC - Bicep? Terraform? それ早く言ってよ会議
torumakabe
1
350
月間数億レコードのアクセスログ基盤を無停止・低コストでAWS移行せよ!アプリケーションエンジニアのSREチャレンジ💪
miyamu
0
800
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
4.7k
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
Tebiki Engineering Team Deck
tebiki
0
24k
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
17k
Featured
See All Featured
Building Applications with DynamoDB
mza
96
6.9k
Everyday Curiosity
cassininazir
0
130
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
110
Chasing Engaging Ingredients in Design
codingconduct
0
110
GraphQLの誤解/rethinking-graphql
sonatard
74
11k
How GitHub (no longer) Works
holman
316
140k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.9k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
79
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
100
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
72
The SEO Collaboration Effect
kristinabergwall1
0
350
Side Projects
sachag
455
43k
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