VictoriaMetrics/lib
Aliaksandr Valialkin b6f22a62cb lib/storage: increase the number of created time series in BenchmarkHeadPostingForMatchers in order to be on par with Promethues
The previous commit was accidentally creating 10x smaller number of time series than Prometheus
and this led to invalid benchmark results.

The updated benchmark results:

benchmark                                                          old ns/op      new ns/op     delta
BenchmarkHeadPostingForMatchers/n="1"                              272756688      6194893       -97.73%
BenchmarkHeadPostingForMatchers/n="1",j="foo"                      138132923      10781372      -92.19%
BenchmarkHeadPostingForMatchers/j="foo",n="1"                      134723762      10632834      -92.11%
BenchmarkHeadPostingForMatchers/n="1",j!="foo"                     195823953      10679975      -94.55%
BenchmarkHeadPostingForMatchers/i=~".*"                            7962582919     100118510     -98.74%
BenchmarkHeadPostingForMatchers/i=~".+"                            7589543864     154955671     -97.96%
BenchmarkHeadPostingForMatchers/i=~""                              1142371741     258003769     -77.42%
BenchmarkHeadPostingForMatchers/i!=""                              9964150263     159783895     -98.40%
BenchmarkHeadPostingForMatchers/n="1",i=~".*",j="foo"              216995884      10937895      -94.96%
BenchmarkHeadPostingForMatchers/n="1",i=~".*",i!="2",j="foo"       202541348      10990027      -94.57%
BenchmarkHeadPostingForMatchers/n="1",i!=""                        486285711      87004349      -82.11%
BenchmarkHeadPostingForMatchers/n="1",i!="",j="foo"                350776931      53342793      -84.79%
BenchmarkHeadPostingForMatchers/n="1",i=~".+",j="foo"              380888565      54256156      -85.76%
BenchmarkHeadPostingForMatchers/n="1",i=~"1.+",j="foo"             89500296       21823279      -75.62%
BenchmarkHeadPostingForMatchers/n="1",i=~".+",i!="2",j="foo"       379529654      46671359      -87.70%
BenchmarkHeadPostingForMatchers/n="1",i=~".+",i!~"2.*",j="foo"     424563825      53915842      -87.30%

VictoriaMetrics uses 1GB of RAM during the benchmark (vs 3.5GB of RAM for Prometheus)
2019-11-18 19:50:58 +02:00
..
backup fix misspelled words (#229) 2019-11-12 00:16:42 +02:00
buildinfo all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
bytesutil add unittests for bytesutil and storage (#221) 2019-11-04 00:54:46 +02:00
decimal lib/{decimal,encoding}: optimize float64<->decimal conversion for arrays with zeros or ones 2019-11-01 16:48:12 +02:00
encoding lib/{decimal,encoding}: optimize float64<->decimal conversion for arrays with zeros or ones 2019-11-01 16:48:12 +02:00
fastnum fix misspelled words (#229) 2019-11-12 00:16:42 +02:00
filestream app/{vmbackup,vmrestore}: add vmbackup and vmrestore tools for creating backups on s3 or gcs from instant snapshots 2019-11-08 21:21:07 +02:00
fs Revert "lib/fs: do not postpone directory removal on NFS error" 2019-11-12 16:18:09 +02:00
httpserver all: return 503 http error if service is temporarily unavailable 2019-08-23 09:55:07 +03:00
logger all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
memory lib/memory: properly handle int overflow in sysTotalMemory 2019-10-17 00:50:48 +03:00
mergeset lib/{storage,mergeset}: create missing partition directories after restoring from backups 2019-11-02 02:27:11 +02:00
netutil all: add support for GOARCH=386 and fix all the issues related to 32-bit architectures such as GOARCH=arm 2019-10-17 18:23:23 +03:00
procutil lib/procutil: typo fix in comment to WaitForSigterm 2019-06-04 17:31:47 +03:00
prompb lib/prompb: removed outdated README.md 2019-10-14 22:12:57 +03:00
storage lib/storage: increase the number of created time series in BenchmarkHeadPostingForMatchers in order to be on par with Promethues 2019-11-18 19:50:58 +02:00
syncwg all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
timerpool lib/timerpool: use timer pool in concurrency limiters 2019-05-28 17:20:10 +03:00
uint64set lib/storage: return back inmemory inverted index for recent hour 2019-11-13 13:11:04 +02:00
workingsetcache lib/workingsetcache: remove data race when resetting c.misses 2019-09-22 19:36:49 +03:00