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
Memory profile your JavaScript application
Search
jaideepsingh
September 21, 2013
Programming
0
840
Memory profile your JavaScript application
jaideepsingh
September 21, 2013
Tweet
Share
More Decks by jaideepsingh
See All by jaideepsingh
Mobile app analytics
jaideepsingh
0
130
Measuring the in-broswer experience
jaideepsingh
0
84
HTML5
jaideepsingh
1
210
The mechanics of iconography
jaideepsingh
0
160
Interactive prototyping
jaideepsingh
2
100
AngularJS
jaideepsingh
1
360
Tools and techniques to validate visual design
jaideepsingh
0
190
Other Decks in Programming
See All in Programming
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
370
Jakarta EE meets AI
ivargrimstad
0
250
[JAWS-UG横浜 #76] イケてるアップデートを宇宙いち早く紹介するよ!
maroon1st
0
460
Keeping it Ruby: Why Your Product Needs a Ruby SDK - RubyWorld 2024
envek
0
190
Monixと常駐プログラムの勘どころ / Scalaわいわい勉強会 #4
stoneream
0
280
Spatial Rendering for Apple Vision Pro
warrenm
0
110
採用事例の少ないSvelteを選んだ理由と それを正解にするためにやっていること
oekazuma
2
1k
Kaigi on Railsに初参加したら、その日にLT登壇が決定した件について
tama50505
0
100
短期間での新規プロダクト開発における「コスパの良い」Goのテスト戦略」 / kamakura.go
n3xem
2
170
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
6
1.1k
LLM Supervised Fine-tuningの理論と実践
datanalyticslabo
7
1.3k
From Translations to Multi Dimension Entities
alexanderschranz
2
130
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
405
66k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
BBQ
matthewcrist
85
9.4k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
Why Our Code Smells
bkeepers
PRO
335
57k
The Pragmatic Product Professional
lauravandoore
32
6.3k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.4k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
5
450
Transcript
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