TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Drool: automated memory leak detection in JavaScript

69 pointsby fdbover 9 years ago

4 comments

wamattover 9 years ago
I found the author&#x27;s reason for making this quite interesting<p><i>After running perf&#x2F;memory tests across multiple todomvc implementations, I found that almost all implementations have significant memory leaks on the most basic of tasks. Worse yet, most of these leaks were introduced at a framework level, or were introduced by &quot;expert&#x2F;(framework authors)&quot;. The question arose in my mind, if people who authored a framework are introducing leaks in the most trivial of applications, how can users be expected to create non-leaking implementations of much more complex applications.</i>
dchermanover 9 years ago
Very cool! I was going to be sitting down soon to reason about the $compile step in Angular 1 to see if there were any leaks. It&#x27;ll be interesting to run this against my test case and see what pops out.<p>Thanks!
hippichover 9 years ago
Am I correct, this tool simply compares before and after number of nodes? Or it is more capable and I am just missing something? I guess it is still valuable for CI..
评论 #10365949 未加载
评论 #10365948 未加载
bestusername111over 9 years ago
Am I the only one sick to death of fucking JavaScript? It&#x27;s an abomination of a &quot;language&quot; but loved my web devs because hurr durr anything other than web is too hard for them.