Re:Immutable.js – Immutable Data Collections
by leebyron on Sunday November 02, 2014 @07:30AM
(#8546433)
In production, no. In a development environment yes. AFAIK, there is no exposed API in the browser to describe the size of the heap. However, you can expose hooks to get this information in a v8 or node instance; snap heap size, run tests, run GC, snap heap. Compare before and after in your test runner.
Furthermore, do you know of any ways to perform automated testing for memory leaks?