Commit Graph

113 Commits (fb69a38e671db03edff09e4d90c0f228251d67bb)

Author SHA1 Message Date
Bryan Boreham 31c5760551
Neater string vs byte-slice conversions (#14425)
2 months ago
Mario Fernandez 5814920601
Fix: optimize .* regexp performance
2 months ago
Owen Williams 9da75328ea
fix(utf8): ensure correct validation when legacy mode turned on (#14736)
3 months ago
beorn7 0f760f63dd lint: Revamp our linting rules, mostly around doc comments
3 months ago
Bryan Boreham d84282b105 Labels: use single byte as separator - small speedup
4 months ago
Bryan Boreham 82a8c6abe2
[ENHANCEMENT] Optimize regexps with multiple prefixes (#13843)
5 months ago
Marco Pracucci ec31acaf02
FastRegexMatcher: small optimization for the literal prefix case
5 months ago
Bryan Boreham 7a82e4b503 Labels benchmarks: remove artefact of small symbol-tables
5 months ago
Bryan Boreham 2ba7bc9446 Labels: further optimisation for dedupelabels
5 months ago
Bryan Boreham 2ced2f6aec [PERF] Labels: faster varint for dedupelabels
5 months ago
Bryan Boreham 84602bbace
Merge branch 'main' into fix-matcher-string-with-empty-label-name
5 months ago
Oleg Zaytsev 4f78cc809c
Refactor `toNormalisedLower`: shorter and slightly faster. (#14299)
5 months ago
Oleg Zaytsev 03cf6141d4
Fix Matcher.String() with empty label name
5 months ago
Ranveer Avhad 39902ba694
[BUGFIX] FastRegexpMatcher: do Unicode normalization as part of case-insensitive comparison (#14170)
6 months ago
Marco Pracucci d966ae6400
Optimize containsInOrder() inlining it
6 months ago
Marco Pracucci a0807733be
Improved tests
6 months ago
Marco Pracucci 78fdd2188d
Improve contains check done by FastRegexMatcher
6 months ago
Bryan Boreham 1e0b0e250a
Merge pull request #14090 from colega/improve-zeroOrOneCharacterStringMatcher-Matches
6 months ago
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code
6 months ago
Oleg Zaytsev 8b4c9459a2
Check utf8.RuneError result
7 months ago
Oleg Zaytsev dbe88fae22
Add invalid utf8 test cases to regexp
7 months ago
Oleg Zaytsev bcff5059e6
Use utf8.DecodeRuneInString(s)
7 months ago
Oleg Zaytsev fdfc6d4725
Benchmark zeroOrOneCharacterStringMatcher.Matches
7 months ago
Oleg Zaytsev b7b4355807
Use bytes.Buffer from stack buf in Matcher.String()
7 months ago
Oleg Zaytsev 6ebda5a7bc
Optimize Matcher.String()
7 months ago
Oleg Zaytsev dabd789fd5
Quote label name in matchers when needed
7 months ago
Oleg Zaytsev 2524a91591
Fix FastRegexMatcher matching multibyte runes with . (#14059)
7 months ago
Matthieu MOREL d496687c8e golangci-lint: enable usestdlibvars linter
8 months ago
Bryan Boreham 7c28521451 [TESTS] Truncate some long test names, for readability
8 months ago
carehabit a672662073
all: fix some typos (#13863)
8 months ago
Domantas 435f330d0b
[BUGFIX] labels: don't modify original labels in DropMetricName (#13845)
8 months ago
Bryan Boreham 48786ad4e8 Use slices insteda of exp/slices
8 months ago
Bryan Boreham 080d440bf8 Merge remote-tracking branch 'origin/main' into pr/13461
8 months ago
Oleg Zaytsev d12e785075
Improve readability
8 months ago
Oleg Zaytsev 9699598952
Improve Labels.Compare performance w/stringlabels
8 months ago
Bryan Boreham 0bb5588386
labels: optimize String method (#13673)
9 months ago
machine424 f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21
9 months ago
Bryan Boreham e1a741a0d7 labels: update copyright dates
9 months ago
Bryan Boreham 55e7de04f8 model/labels (stringlabels): use strings.Clone
9 months ago
Bryan Boreham d16ce3c9bd model/labels (dedupelabels): small clarifications
9 months ago
Bryan Boreham b39286fd1f Add dedupelabels tag to not build regular labels
9 months ago
Bryan Boreham d51a5344cd labels: new version de-duplicating strings in SymbolTables
9 months ago
Bryan Boreham 28191109a8 Labels: add fake versions of SymbolTable apis
9 months ago
Bryan Boreham d1af84f6ee Labels: move Builder and Reset out of common
9 months ago
Bryan Boreham 5aa4473894 labels tests: extend TestBuilder
9 months ago
Bryan Boreham bb82a57e64 Labels: Call NewScratchBuilder in test_utils
9 months ago
Bryan Boreham cc5dc6a61b labels: use Equal instead of DeepEqual
9 months ago
beorn7 553d92affd model/labels: Fix new lint warning in test
10 months ago
Bryan Boreham 14b4fbc2ff labels: make InternStrings a no-op for stringlabels version
10 months ago
Marco Pracucci 501bc6419e
Add ShardedPostings() support to TSDB (#10421)
10 months ago