作者: Simon Holm Jensen , Manu Sridharan , Koushik Sen , Satish Chandra
关键词:
摘要: JavaScript programs often suffer from memory issues that can either hurt performance or eventually cause exhaustion. While existing snapshot-based profiling tools be helpful, the information provided is limited to coarse granularity at which snapshots taken. We present MemInsight, a tool provides detailed, time-varying analysis of behavior applications, including web applications. MemInsight platform independent and runs on unmodified engines. It employs tuned source-code instrumentation generate trace allocations accesses, it leverages modern browser features track precise for DOM (document object model) objects. also computes exact lifetimes without any garbage collector assistance, exposes this in an easily-consumable manner further analysis. describe several client analyses built into detection possible leaks opportunities stack allocation inlining. An experimental evaluation showed with no modifications runtime, was able expose real-world