influxdb/mutable_batch
Dom Dwyer ea3dcba308
perf: preallocate partition key strings
Partition keys tend to be approximately the same size each time (and in
the default case, always exactly the same size).

This simple change reduces allocations by pre-sizing the next partition
key string to match that of the previous. This should reduce the number
of allocations needed to grow the string for ~10% throughput increase.
2023-06-05 11:31:03 +02:00
..
src perf: preallocate partition key strings 2023-06-05 11:31:03 +02:00
tests fix: prevent panics in partitioning logic 2023-06-01 17:44:44 +02:00
Cargo.toml fix: prevent panics in partitioning logic 2023-06-01 17:44:44 +02:00