Matt Jaffee
56ba127210
set n based on array length instead of incrementing repeatedly
2017-05-30 16:09:02 -05:00
Matthew Jaffee
c4fccc025c
Merge pull request #577 from jaffee/intersectCountOptimization
...
rewrite intersectCountArrayBitmap for perf test
2017-05-30 15:15:20 -05:00
alanbernstein
f4466f97e4
Merge pull request #589 from alanbernstein/webui-fixes
...
Webui fixes
2017-05-30 13:19:55 -05:00
Alan Bernstein
f8b4b6a323
Use correct syntax in help text
2017-05-30 13:02:09 -05:00
Alan Bernstein
4ed670b709
Remove unused styles
2017-05-30 12:57:07 -05:00
Alan Bernstein
48192edac1
Hide unimplemented status section
2017-05-30 12:56:48 -05:00
Alan Bernstein
e32bbb077f
Fix html structure again
2017-05-30 12:56:29 -05:00
Ben Johnson
010c21d882
Merge pull request #562 from benbjohnson/450-set-attrs-optimization
...
Check for duplicate attributes under read lock on insert.
2017-05-30 10:53:57 -06:00
alanbernstein
03aeb64e11
Merge pull request #560 from alanbernstein/autocomplete-improvements
...
Autocomplete improvements
2017-05-30 10:30:10 -05:00
Ben Johnson
7bec6e691f
Merge pull request #580 from benbjohnson/statsd-gauges
...
Add statsd gauges for row count.
2017-05-30 09:24:13 -06:00
Ben Johnson
a961473422
Add statsd gauges for row count.
2017-05-30 09:23:51 -06:00
alanbernstein
29df847e22
Merge pull request #558 from alanbernstein/typo-fix
...
Fix typo in error message
2017-05-30 10:18:53 -05:00
Matthew Jaffee
02fe0f84f5
Merge pull request #572 from jaffee/better-errors
...
discriminate error messages in server.Open
2017-05-30 10:13:21 -05:00
Linh Vo
06c80711fa
Merge pull request #578 from linhvo/validate-query-args
...
#312 validate unkown query params
2017-05-25 14:39:00 -05:00
Linh Vo
3706fc9022
changed argType
2017-05-25 13:04:38 -05:00
Linh Vo
37fa3973ec
Merge pull request #573 from linhvo/33-validate-config
...
33 validate config
2017-05-25 12:56:37 -05:00
Linh Vo
51db1c7784
fix review
2017-05-25 12:07:09 -05:00
Linh Vo
e34e9f9789
fixed comment, update validQueryArgs
2017-05-25 11:48:08 -05:00
Yuce Tekol
a3ccf77504
Merge pull request #581 from yuce/fix-validation-regex-off-by-one
...
Fix name, label validation off by one error; added tests
2017-05-25 16:47:52 +03:00
Yuce Tekol
15853fb448
Fix name, label validation off by one error; added tests
2017-05-25 15:49:55 +03:00
Linh Vo
108c644938
#312 validate unkown query params
2017-05-24 13:57:47 -05:00
Matt Jaffee
da961be614
rewrite intersectCountArrayBitmap for perf test
2017-05-24 12:38:50 -05:00
Linh Vo
0a19e9f413
#33 don't need reflect for get valid field
2017-05-23 14:44:16 -05:00
Linh Vo
0f45d27028
#33 validate config
2017-05-23 14:40:58 -05:00
Matt Jaffee
b386fc9eac
discriminate error messages in server.Open
2017-05-23 09:45:21 -05:00
alanbernstein
9d92b7ec05
Merge pull request #570 from alanbernstein/image-url-fix
...
Update logo urls
2017-05-22 20:51:05 -05:00
Alan Bernstein
18dacee64b
Update logo urls
2017-05-22 16:41:05 -05:00
Cody Soyland
a7fcace1e9
Merge pull request #565 from codysoyland/32-bit-build
...
Add 32-bit build to release process
2017-05-22 12:40:52 -04:00
Cody Soyland
124a2e62a8
Remove curly braces (fails on some systems)
2017-05-22 11:35:02 -05:00
Ben Johnson
b9c460deda
Merge pull request #541 from benbjohnson/375-config
...
Implement 'config' CLI command.
2017-05-22 10:29:50 -06:00
Matthew Jaffee
a981cb2850
Merge pull request #559 from jaffee/bitmapCountRange-bugs
...
fix 3 separate bugs in bitmapCountRange
2017-05-22 11:01:49 -05:00
Matt Jaffee
e90e1455db
remove branch and always count last container
2017-05-22 10:38:40 -05:00
Ben Johnson
788386b49a
Implement 'config' CLI command.
...
Renames `config` to `generate-config` and implements a new `config`
command that generates the configuration file based on the current
state instead of printing a static string.
2017-05-22 09:30:14 -06:00
Matt Jaffee
6b3b459659
add license to roaring_internal_test
2017-05-22 09:46:52 -05:00
Matt Jaffee
a5918d01d9
fix offset check to make sense
2017-05-19 17:09:22 -05:00
Cody Soyland
9deee72bda
Add 32-bit build to release process
2017-05-19 16:27:49 -05:00
Matt Jaffee
c0ddbe0e3f
fix bitmapCountRange and test
...
had been thinking that index 0 was the most significant bit, but based on the
bitmapAdd function, it must be the least significant bit
2017-05-19 15:18:07 -05:00
alanbernstein
7693fc4211
Merge pull request #564 from alanbernstein/remove-.n
...
Remove .n frame suffix
2017-05-19 15:08:34 -05:00
Alan Bernstein
5788a459f8
Remove .n frame suffix
2017-05-19 15:00:50 -05:00
Cody Soyland
21692cfddb
Hide build directory in .gitignore
2017-05-19 14:17:57 -05:00
Cody Soyland
63a7589be6
Merge pull request #563 from pilosa/docs
...
Move docs into repo
2017-05-19 14:43:25 -04:00
Ben Johnson
1c09af132e
Check for duplicate attributes under read lock on insert.
...
Changes the behavior of `AttrStore.SetAttrs()` to first verify
that the attributes haven't changed using a read-only lock before
obtaining a write lock to update the attributes.
Since the write lock serializes access, the previous insert time
sufferred lock contention when inserting a lot of duplicate
attributes. With the `RWMutex`, reads can be done in parallel so
multiple requests don't block each other.
Below is a simple benchmark showing the performance at 1, 5, & 10
goroutines:
BenchmarkAttrStore_Duplicate 100000 137120 ns/op 8428 B/op 76 allocs/op
BenchmarkAttrStore_Duplicate-5 100000 417459 ns/op 8431 B/op 76 allocs/op
BenchmarkAttrStore_Duplicate-10 100000 139466 ns/op 8433 B/op 76 allocs/op
BenchmarkAttrStore_Duplicate 20000000 703 ns/op 368 B/op 5 allocs/op
BenchmarkAttrStore_Duplicate-5 100000000 213 ns/op 368 B/op 5 allocs/op
BenchmarkAttrStore_Duplicate-10 100000000 223 ns/op 368 B/op 5 allocs/op
2017-05-19 07:35:50 -06:00
Alan Bernstein
75c59387f6
Skeleton for new autocomplete functionality
2017-05-18 18:34:23 -05:00
Alan Bernstein
39e46e2c48
Factor out autocompleter
2017-05-18 18:30:25 -05:00
Cody Soyland
c9d5852817
Decrease heading depths now that H3 tags are supported by website CSS
2017-05-18 15:47:27 -05:00
Cody Soyland
b102b8cbc8
Use "note" class instead of blockquotes. This is needed to support the blockquotes in the style guide for the website.
2017-05-18 14:45:36 -05:00
Matt Jaffee
fb4651cdb8
fix 3 separate bugs in bitmapCountRange
...
in order of the diff:
1. When the start and end of the range fall in the same word, special handling
is needed to "mask" off the beginning and end of the word simultaneously to
avoid counting bits at the beginning or end of the word that aren't in the
range.
2. `i++` is needed at the end of the first partial word to avoid counting this
word in the next block.
3. the shift amount for right shifts is 64 - (end % 64) rather than just end
% 64. If end is (e.g.) 68, then 68 - 64 is 4 and we are only interested in the
first 4 bits of the word, so we must right shift by 60 bits, not 4 bits.
2017-05-18 12:04:37 -05:00
tgruben
4a14e38ebe
Merge pull request #549 from tgruben/conditional-asm
...
asm build options for non amd64
2017-05-17 11:16:21 -05:00
Cody Soyland
cb2c47a727
Move docs into main repo
2017-05-17 08:11:38 -05:00
Alan Bernstein
db256c91cc
Only autocomplete on single match
2017-05-16 22:54:17 -05:00