prometheus/model/labels
Bryan Boreham c743b2f3cd [PERF] Regex: stop calling Simplify
It slows down compilation and doesn't make any of our benchmarks go faster.
Assumed to be something that helped at an earlier point, but doesn't help now.

Add a benchmark with a more complicated regex to demonstrate the slowdown.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2025-09-18 11:20:14 +01:00
..
labels_common.go fix(textparse/protobuf): metric family name corrupted by NHCB parser (#17156) 2025-09-08 17:26:41 +02:00
labels_dedupelabels.go fix(ci): run linter with all build tags (#17027) 2025-08-08 09:43:41 +00:00
labels_dedupelabels_test.go Add ByteSize method for Labels (#16717) 2025-07-04 15:09:01 +01:00
labels_slicelabels.go fix(ci): run linter with all build tags (#17027) 2025-08-08 09:43:41 +00:00
labels_slicelabels_test.go Add ByteSize method for Labels (#16717) 2025-07-04 15:09:01 +01:00
labels_stringlabels.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
labels_stringlabels_test.go Add ByteSize method for Labels (#16717) 2025-07-04 15:09:01 +01:00
labels_test.go Replace gopkg.in/yaml.v2 with go.yaml.in/yaml/v2 (#17151) 2025-09-06 13:04:24 +02:00
matcher.go Fix Matcher.String() with empty label name 2024-06-13 18:46:35 +02:00
matcher_test.go [PERF] Regex: stop calling Simplify 2025-09-18 11:20:14 +01:00
regexp.go [PERF] Regex: stop calling Simplify 2025-09-18 11:20:14 +01:00
regexp_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
sharding.go Use stringlabels by default 2025-04-15 17:52:24 +01:00
sharding_dedupelabels.go Labels: use single byte as separator - small speedup 2024-07-15 09:47:16 +01:00
sharding_stringlabels.go Use stringlabels by default 2025-04-15 17:52:24 +01:00
sharding_test.go Add ShardedPostings() support to TSDB (#10421) 2024-01-29 11:57:27 +00:00
test_utils.go Labels: Call NewScratchBuilder in test_utils 2024-02-23 13:50:27 +00:00