This repository has been archived by the owner on Aug 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
track chunk total points more efficiently
also, this way we're not forced to read out the value note: i think some of the AggMetrics benchmarks have bugs making them misleading, that's something to look into later. but at least all times have decreased. BEFORE: BenchmarkProcess-8 2000000 717 ns/op PASS ok github.com/raintank/metrictank/input 2.687s BenchmarkAggMetrics1000Metrics1Day-8 1 4787832311 ns/op BenchmarkAggMetrics1kSeries2Chunks1kQueueSize-8 2000000000 0.04 ns/op BenchmarkAggMetrics10kSeries2Chunks10kQueueSize-8 1 1210286443 ns/op BenchmarkAggMetrics100kSeries2Chunks100kQueueSize-8 1 13937332075 ns/op PASS ok github.com/raintank/metrictank/mdata 20.655s AFTER: BenchmarkProcess-8 3000000 500 ns/op PASS ok github.com/raintank/metrictank/input 2.715s BenchmarkAggMetrics1000Metrics1Day-8 1 3977004221 ns/op BenchmarkAggMetrics1kSeries2Chunks1kQueueSize-8 1000000000 0.06 ns/op BenchmarkAggMetrics10kSeries2Chunks10kQueueSize-8 2000000000 0.39 ns/op BenchmarkAggMetrics100kSeries2Chunks100kQueueSize-8 1 9796636066 ns/op PASS ok github.com/raintank/metrictank/mdata 42.775s
- Loading branch information
Showing
4 changed files
with
9 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters