google/benchmark

Memory reporting capabilities are unclear and undocumented.

開放

#1,217 建立於 2021年8月27日

 (11 則留言) (12 個反應) (1 位負責人)C++ (1,539 個分叉)batch import
enhancementgood first issue

倉庫指標

星標
 (7,968 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

I am currently using google/benchmark to benchmark https://github.com/protocolbuffers/upb. I would very much like for those benchmarks to also include memory usage.

Does this project support memory benchmarking? The user guide does not mention memory usage benchmarking at all. However I notice that the header has a RegisterMemoryManager() function, and there is a unit test verifying this functionality.

From running the test, it appears that the memory usage data is surfaced to JSON, but not CSV or console reports. Is this an oversight or intentional? Ideally this data would be shown on CSV and console reports also.

貢獻者指南