Commit Graph

96 Commits (f0e7cc4ba2d65404f276288c6995810c4605b6ff)

Author SHA1 Message Date
Bryan Boreham 1e0b0e250a
Merge pull request #14090 from colega/improve-zeroOrOneCharacterStringMatcher-Matches
7 months ago
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code
7 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
9 months ago
Oleg Zaytsev 9699598952
Improve Labels.Compare performance w/stringlabels
9 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
Bryan Boreham 74b73d1e2c
Labels: Add DropMetricName function, used in PromQL (#13446)
10 months ago
Marco Pracucci bfec57bd2e
Further optimise FastRegexMatcher
10 months ago
Bryan Boreham a3e02f35d6 labels: extract common code between slice and stringlabels
1 year ago
Bryan Boreham 1bfb3ed062
Labels: reduce allocations when creating from TSDB WAL (#13044)
1 year ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments
1 year ago
Goutham Veeramachaneni 86729d4d7b
Update exp package (#12650)
1 year ago
Bryan Boreham d6e1b1acdb
Merge pull request #12681 from prometheus/labels-unused-code
1 year ago
Bryan Boreham ce260b1fe1 labels: remove some unused code
1 year ago
Bryan Boreham b5c6807fea Labels.Has quick check on first character
1 year ago
Bryan Boreham 33aab1b2cc labels: extend benchmark for Has()
1 year ago
Bryan Boreham e1115ae58d
labels: improve Get method for stringlabels build (#12485)
1 year ago
Bryan Boreham 87d08abe11
labels: faster Compare function when using -tags stringlabels (#12451)
1 year ago
Oleg Zaytsev 6a18962cfa
mv labels_string.go labels_stringlabels.go (#12328)
1 year ago
Michael Hoffmann 344c8ff97c
feat: dont compile regex matcher if we know its a literal (#12434)
2 years ago
Bryan Boreham a073e04a9b
Merge pull request #12366 from prometheus/release-2.44
2 years ago
Bryan Boreham 7a48a266b6
labels: respect Set after Del in Builder (#12322)
2 years ago
cui fliter 276ca6a883 fix some comments
2 years ago