diff options
| author | ijon <[email protected]> | 2025-10-24 11:38:27 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-10-24 11:38:27 +0300 |
| commit | 626410bd5f9e941c3d6cf9f944de89738a8473d4 (patch) | |
| tree | 961aee1566a7b93716e7fcdc8466f9d1e1486997 /contrib/libs/brotli/c/enc/write_bits.h | |
| parent | e89accaef099a3e81769c05e7856a70a3ec7e088 (diff) | |
Streamline and optimize datashard statistics processing.
Profile guided optimizations of PersistSingleStats() (in synthetic test).
Total gain is around 30%.
- remove unreasonable iteration over entire ShardInfoscommits/6fefb4b0d08afdd7a9430d54d3d5d70e7bf00100)
- single Now() timestamp for entire stats batch
- optimize number of lookups
- stop building now unnecessary storage pool kind mappings
- remove table/store aggregated stats copying
- collect ExternalBlobsEnabled only on PartitionConfig change
- replace ETxType->CounterId map with absl::flat_hash_map
- remove extra OpType->TxType lookup
- remove call to GetMainTableForIndex for not-index-table shards
Diffstat (limited to 'contrib/libs/brotli/c/enc/write_bits.h')
0 files changed, 0 insertions, 0 deletions
