-
Notifications
You must be signed in to change notification settings - Fork 47
Better measurement of Acmeair memory footprint #132
Comments
Was pointed here by @bmeurer to give some hints on how V8 and chromium handle this scenario. V8 exposes several API that can be used to inspect its memory usage. Basically, anything around
For overall memory statistics V8 does not emit any trace events but rather relies on the embedder, e.g. node, to sample the usage. Chromium implements this through through its Chromium distinguishes between light and heavy dumps:
[1] https://cs.chromium.org/chromium/src/v8/include/v8.h?type=cs&q=GetHeapStatistics&l=7111 |
Thanks @mlippautz and @bmeurer for the information. We can definitely use these APIs via
Let me know any questions/suggestions. |
As said in the meeting, I don't think this kind of data is very accurate. The |
The |
That is a fair point but do we all agree on below approach?
|
SGTM |
Given that there has not been discussion for a year, we should probably close. Please re-open if you think we need to start discussion again. |
Have a way to measure memory foot print of Acmeair benchmark for entire run duration rather than just measuring before and after footprint. The idea is to collect
rss
every second and after the benchmark run is complete, get the normalized number out of it.The text was updated successfully, but these errors were encountered: