diff options
| author | Lisandro Pin <lisandro.pin@proton.ch> | 2025-06-03 02:09:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-02 17:09:01 -0700 |
| commit | 72047317498700d349afa15b370d3ba8e88fa417 (patch) | |
| tree | d7ce33f899701d732c48b3fea03a13b631599764 /weed/command/command.go | |
| parent | 5e354a18a3d7f09a8d28917b0751967c07f87104 (diff) | |
| download | seaweedfs-72047317498700d349afa15b370d3ba8e88fa417.tar.xz seaweedfs-72047317498700d349afa15b370d3ba8e88fa417.zip | |
Minor fix for the `CompactMap()` performance test. (#6836)
Per-entry memory usage is based on `TotalAllocs`, which is incorrect - that
value is a cummulative of heap usage, which doesn't decrease when objects
are freeed.
`Allocs` is instead an accurate represeentation of actual memory usage
at the time metrics are reported.
Diffstat (limited to 'weed/command/command.go')
0 files changed, 0 insertions, 0 deletions
