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
jaideepsingh
September 21, 2013
Programming
890
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
[DroidKnights 2026] Workflow AX 적용기 — 자동 정책 정리부터 E2E까지
dayeon
0
120
DroidKnights 2026 Android A2UI Jetpack Compose 기반의 안전한 AI UI 렌더링 - 박제창
itsmedreamwalker
1
260
Proxmox x Talos Linux x Terraform で実現するなんかいい感じの Kubernetes クラスタ / A Sleek Kubernetes Cluster Powered by Proxmox, Talos Linux, and Terraform
nnaka2992
0
310
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
980
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
210
AI駆動TDD ― 2026年10月版
hrmstrsmgs
0
110
エージェントの管理もエージェントに – herdr-core と自作バックログで作る司令塔 –
nearme_tech
PRO
2
140
止まらない比較を止める — 余帰納法で無限ストリームを比べる
tarao
0
210
AIコーディングをセッションで終わらせない: PHPライブラリ開発におけるコンテキスト承継設計
ickx
0
110
Distance field of Julia set
kinakomoti321
0
330
読みやすい!と評判(?)の発表の準備にかける私のこだわり
shoheimitani
0
170
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
140
Featured
See All Featured
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
650
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
670
GitHub's CSS Performance
jonrohan
1033
470k
Music & Morning Musume
bryan
48
7.5k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
620
Game over? The fight for quality and originality in the time of robots
wayneb77
1
340
Visualization
eitanlees
153
17k
The browser strikes back
jonoalderson
0
2k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.4k