DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Frontend Performance Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
Frontend Performance
What is the actual technique for confirming a suspected leak, per this topic?
A
Just watch the memory number go up once
B
Take a heap snapshot, perform the suspected-leaky operation many times, force a garbage collection, then take a second snapshot — memory still present and growing proportional to repetitions is the confirmed leak signature
C
Restart the browser and see if it's faster
D
Count the number of variables declared in the code
Check Answer