Stuart Carnie
|
dee8977d2c
|
chore: move v2/v1/tsdb → v2/tsdb
|
2020-08-26 10:46:47 -07:00 |
Mark Rushakoff
|
f2898d1992
|
Wipe out workspace in preparation for v2 merge
"Knock knock."
"Who's there?"
"InfluxDB Veet."
...
|
2019-01-11 10:38:50 -08:00 |
linxGnu
|
1dde9a1e12
|
Update test case
|
2018-09-14 14:09:24 -07:00 |
Stuart Carnie
|
06257822c2
|
fix(tsm1): Reset vals to ensure Include is correctly tested
|
2018-07-13 11:42:02 -07:00 |
Jason Wilder
|
ef06773d5b
|
Fix panic: runtime error: slice bounds out of range
A panic could occur if an invalid time range was passed to
Exclude/Include, etc.
|
2017-11-15 08:18:53 -07:00 |
Stuart Carnie
|
ed7bc9d825
|
fix FindValues panic for empty array
|
2017-09-19 14:23:32 -07:00 |
Stuart Carnie
|
cfc6a1cd9f
|
implement optimization for Include function
```
benchmark old ns/op new ns/op delta
BenchmarkIntegerValues_IncludeNone_1000-8 651 6.69 -98.97%
BenchmarkIntegerValues_IncludeMiddleHalf_1000-8 1131 114 -89.92%
BenchmarkIntegerValues_IncludeFirst_1000-8 638 33.9 -94.69%
BenchmarkIntegerValues_IncludeLast_1000-8 1269 32.2 -97.46%
BenchmarkIntegerValues_IncludeNone_10000-8 7751 6.76 -99.91%
BenchmarkIntegerValues_IncludeMiddleHalf_10000-8 11582 1378 -88.10%
BenchmarkIntegerValues_IncludeFirst_10000-8 7911 43.8 -99.45%
BenchmarkIntegerValues_IncludeLast_10000-8 12442 38.4 -99.69%
```
(cherry picked from commit fb93ad5)
|
2017-09-19 09:53:28 -07:00 |
Stuart Carnie
|
ca40c1ad3c
|
<type>Values.Exclude function uses binary search and copy builtin
```
± benchcmp old.txt new.txt
benchmark old ns/op new ns/op delta
BenchmarkIntegerValues_ExcludeNone_1000-8 1285 7.34 -99.43%
BenchmarkIntegerValues_ExcludeMiddleHalf_1000-8 1258 148 -88.24%
BenchmarkIntegerValues_ExcludeFirst_1000-8 1268 7.51 -99.41%
BenchmarkIntegerValues_ExcludeLast_1000-8 1125 27.7 -97.54%
BenchmarkIntegerValues_ExcludeNone_10000-8 12665 7.31 -99.94%
BenchmarkIntegerValues_ExcludeMiddleHalf_10000-8 12039 976 -91.89%
BenchmarkIntegerValues_ExcludeFirst_10000-8 12663 7.29 -99.94%
BenchmarkIntegerValues_ExcludeLast_10000-8 10990 34.9 -99.68%
```
(cherry picked from commit d7a3c23)
|
2017-09-19 09:53:26 -07:00 |