mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/uint64set: benchmark AddMulti on small number of items, since this case is the most frequent in lib/storage
This commit is contained in:
parent
926854b0f3
commit
cdac04997a
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ import (
|
|||
)
|
||||
|
||||
func BenchmarkAddMulti(b *testing.B) {
|
||||
for _, itemsCount := range []int{1e3, 1e4, 1e5, 1e6, 1e7} {
|
||||
for _, itemsCount := range []int{1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7} {
|
||||
start := uint64(time.Now().UnixNano())
|
||||
sa := createRangeSet(start, itemsCount)
|
||||
a := sa.AppendTo(nil)
|
||||
|
|
Loading…
Reference in a new issue