by evjohnst · 1y ago · 0 comments
It looks like your benchmarks only cover average operation time. Have you thought about benchmarking p99 latency as well? I would expect insertions that cause reallocations to be slow enough that it might be an issue for some usecases.
The median, rather than the mean would also generally be a better guide to performance in practice. Even better, give the mean, median and std deviation.