1. 11 11月, 2019 1 次提交
  2. 07 11月, 2019 1 次提交
  3. 18 10月, 2019 1 次提交
  4. 10 10月, 2019 1 次提交
  5. 09 10月, 2019 1 次提交
  6. 26 9月, 2019 1 次提交
  7. 18 8月, 2019 1 次提交
  8. 15 8月, 2019 1 次提交
  9. 14 8月, 2019 1 次提交
  10. 13 8月, 2019 1 次提交
  11. 24 7月, 2019 1 次提交
  12. 23 7月, 2019 1 次提交
  13. 10 7月, 2019 1 次提交
  14. 09 7月, 2019 2 次提交
  15. 04 7月, 2019 1 次提交
  16. 03 7月, 2019 4 次提交
  17. 24 6月, 2019 1 次提交
    • K
      refactor block size calculation (#637) · 8d86e921
      Krasi Georgiev 提交于
      * refactor block size calculation
      The block size is kept in memory and not in the meta file anymore.
      It now includes the size of the meta file itself for a more
      correct block size.
      It fixes a bug where the size didn't change when calling `block.Delete()`.
      Adds a dedicated test to ensure correct block sizes.
      This allows opening a db in a read only mode as it doesn't write to the meta file anymore.
      Signed-off-by: NKrasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
      8d86e921
  18. 19 6月, 2019 1 次提交
  19. 25 5月, 2019 1 次提交
  20. 22 5月, 2019 1 次提交
  21. 17 5月, 2019 1 次提交
  22. 06 5月, 2019 1 次提交
  23. 30 4月, 2019 1 次提交
  24. 24 4月, 2019 2 次提交
  25. 16 4月, 2019 1 次提交
  26. 15 4月, 2019 1 次提交
  27. 11 4月, 2019 2 次提交
  28. 10 4月, 2019 1 次提交
  29. 09 4月, 2019 1 次提交
    • B
      Be smarter in how we look at matchers. (#572) · 259847a6
      Brian Brazil 提交于
      * Add unittests for PostingsForMatcher.
      
      * Selector methods are all stateless, don't need a reference.
      
      * Be smarter in how we look at matchers.
      
      Look at all matchers to see if a label can be empty.
      
      Optimise Not handling, so i!="2" is a simple lookup
      rather than an inverse postings list.
      
      All all the Withouts together, rather than
      having to subtract each from all postings.
      
      Change the pre-expand the postings logic to always do it before doing a
      Without only. Don't do that if it's already a list.
      
      The initial goal here was that the oft-seen pattern
      i=~"something.+",i!="foo",i!="bar" becomes more efficient.
      
      benchmark                                                            old ns/op     new ns/op     delta
      BenchmarkHeadPostingForMatchers/n="1"-4                              5888          6160          +4.62%
      BenchmarkHeadPostingForMatchers/n="1",j="foo"-4                      7190          6640          -7.65%
      BenchmarkHeadPostingForMatchers/j="foo",n="1"-4                      6038          5923          -1.90%
      BenchmarkHeadPostingForMatchers/n="1",j!="foo"-4                     6030884       4850525       -19.57%
      BenchmarkHeadPostingForMatchers/i=~".*"-4                            887377940     230329137     -74.04%
      BenchmarkHeadPostingForMatchers/i=~".+"-4                            490316101     319931758     -34.75%
      BenchmarkHeadPostingForMatchers/i=~""-4                              594961991     130279313     -78.10%
      BenchmarkHeadPostingForMatchers/i!=""-4                              537542388     318751015     -40.70%
      BenchmarkHeadPostingForMatchers/n="1",i=~".*",j="foo"-4              10460243      8565195       -18.12%
      BenchmarkHeadPostingForMatchers/n="1",i=~".*",i!="2",j="foo"-4       44964267      8561546       -80.96%
      BenchmarkHeadPostingForMatchers/n="1",i!="",j="foo"-4                42244885      29137737      -31.03%
      BenchmarkHeadPostingForMatchers/n="1",i=~".+",j="foo"-4              35285834      32774584      -7.12%
      BenchmarkHeadPostingForMatchers/n="1",i=~"1.+",j="foo"-4             8951047       8379024       -6.39%
      BenchmarkHeadPostingForMatchers/n="1",i=~".+",i!="2",j="foo"-4       63813335      30672688      -51.93%
      BenchmarkHeadPostingForMatchers/n="1",i=~".+",i!~"2.*",j="foo"-4     45381112      44924397      -1.01%
      Signed-off-by: NBrian Brazil <brian.brazil@robustperception.io>
      259847a6
  30. 08 4月, 2019 1 次提交
  31. 03 4月, 2019 2 次提交
  32. 02 4月, 2019 1 次提交
  33. 01 4月, 2019 1 次提交