cppalliance / http_proto

HTTP/1 parsing and serialization algorithms using C++11
https://develop.http-proto.cpp.al/
Boost Software License 1.0
23 stars 10 forks source link

zlib service probe needs to also return the number of allocations #105

Open vinniefalco opened 1 month ago

vinniefalco commented 1 month ago

The ZLib service probe should round the measurement of each allocation up to the nearest 64-bit integer. Also, it should return both the total allocated bytes, and the number of allocations. This will allow the caller to account for any per-allocation overhead such as intrusive pointers or whatever.