Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Memory profile your JavaScript application
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
jaideepsingh
September 21, 2013
Programming
880
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Memory profile your JavaScript application
jaideepsingh
September 21, 2013
Transcript
17 slides
Memory Profile your JS App Jaideep Singh
Memory leak
JavaScript Engines V8 SpiderMonkey Caracan Chakra
V8 (Google Chrome) Base compiler Object model Runtime profiler Optimizing
compiler Deoptimization Garbage collector
The Garbage Collector * Picture credits: Smashing magazine
De-referencing misconceptions Use of delete Use of null Global variables
Use of delete
Use of null
Global variables
None
The Rules Scoping the variables Unbinding event listeners Cleaning cache
The Leaks Functions Closures Timers
Functions
Closures
Timers
Profiling your app Profiling Memory snapshots
Thanks! @_jaideep
More Decks by jaideepsingh
See All by jaideepsingh
Mobile app analytics
jaideepsingh
0
140
Measuring the in-broswer experience
jaideepsingh
0
100
HTML5
jaideepsingh
1
220
The mechanics of iconography
jaideepsingh
0
180
Interactive prototyping
jaideepsingh
2
110
AngularJS
jaideepsingh
1
370
Tools and techniques to validate visual design
jaideepsingh
0
210
Other Decks in Programming
See All in Programming
なぜ私たちは「現時点では」KMPの導入を見送ったのか
chigichan24
0
150
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
210
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
340
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
180
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
750
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
170
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
340
Modernizing iOS Apps
seyfoyun
0
150
Kawaiicon: Kubernetes, it's no longer cool, but let's secure it anyway!
barnbarn
0
130
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
300
AIが生成したコードは読むべきか?抽象化設計とコードの品質保証 / abstraction-design-and-quality
minodriven
16
9.1k
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
1
440
Featured
See All Featured
Faster Mobile Websites
deanohume
310
32k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k
Code Review Best Practice
trishagee
74
20k
Deep Space Network (abreviated)
tonyrice
0
410
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
560
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
610
Leo the Paperboy
mayatellez
11
2.5k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
880
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
450
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
660