prometheus/promql
Bryan Boreham 1c58399160
Some checks failed
buf.build / lint and publish (push) Has been cancelled
CI / Go tests (push) Has been cancelled
CI / More Go tests (push) Has been cancelled
CI / Go tests with previous Go version (push) Has been cancelled
CI / UI tests (push) Has been cancelled
CI / Go tests on Windows (push) Has been cancelled
CI / Mixins tests (push) Has been cancelled
CI / Build Prometheus for common architectures (push) Has been cancelled
CI / Build Prometheus for all architectures (push) Has been cancelled
CI / Check generated parser (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
CI / fuzzing (push) Has been cancelled
CI / codeql (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CI / Report status of build Prometheus for all architectures (push) Has been cancelled
CI / Publish main branch artifacts (push) Has been cancelled
CI / Publish release artefacts (push) Has been cancelled
CI / Publish UI on npm Registry (push) Has been cancelled
PromQL: Speed up parsing of variadic functions (#17316)
* PromQL: Add benchmark case with variadic function

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>

* PromQL: Speed up parsing of variadic functions

Defer formatting of an error message until we hit an error.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>

---------

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2025-10-10 09:16:33 +01:00
..
fuzz-data textparse: Add fuzzing and fix bug caught 2017-07-07 11:12:17 +02:00
parser PromQL: Speed up parsing of variadic functions (#17316) 2025-10-10 09:16:33 +01:00
promqltest promql(histograms): Fix counter reset hint handling when aggregating 2025-10-09 19:40:00 +02:00
bench_test.go PromQL: Speed up parsing of variadic functions (#17316) 2025-10-10 09:16:33 +01:00
durations.go chore(promql): improve doc string in promql/durations.go (#16863) 2025-07-11 12:07:54 +02:00
durations_test.go Add step(), min(a,b) and max(a,b) in promql duration expressions 2025-07-02 11:17:17 +02:00
engine.go promql(histograms): Fix counter reset hint handling when aggregating 2025-10-09 19:40:00 +02:00
engine_internal_test.go Histograms: set annotation when adding or subtracting histograms that have not_reset and reset hints. 2025-08-20 15:00:45 +02:00
engine_test.go Add anchored and smoothed to vector selectors. (#16457) 2025-09-25 11:34:59 +02:00
functions.go promql(histograms): Fix counter reset hint handling when aggregating 2025-10-09 19:40:00 +02:00
functions_internal_test.go Add anchored and smoothed to vector selectors. (#16457) 2025-09-25 11:34:59 +02:00
functions_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
fuzz.go refactor(textparse): Introduce Variadic options in textParse.New (#17155) 2025-09-11 10:49:42 +01:00
fuzz_test.go fix: use "ErrorContains" or "EqualError" instead of "Contains(t, err.Error()" and "Equal(t, err.Error()" (#15094) 2024-10-06 16:35:29 +00:00
histogram_stats_iterator.go promql: Make HistogramStatsIterator.AtFloatHistogram idempotent 2025-09-09 14:59:15 +02:00
histogram_stats_iterator_test.go promql: Make HistogramStatsIterator.AtFloatHistogram idempotent 2025-09-09 14:59:15 +02:00
info.go [BUGFIX] PromQL: fix slice indexing bug in info function (#17135) 2025-09-05 14:46:57 +02:00
info_test.go [BUGFIX] PromQL: fix slice indexing bug in info function (#17135) 2025-09-05 14:46:57 +02:00
promql_test.go Add anchored and smoothed to vector selectors. (#16457) 2025-09-25 11:34:59 +02:00
quantile.go fix(promql): histogram_quantile and histogram_fraction NaN observed in native histogram (#16724) 2025-06-25 13:37:43 +02:00
quantile_test.go Export quantile functions (#15190) 2024-11-27 13:20:23 +01:00
query_logger.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
query_logger_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
value.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
value_test.go test: move most PromQL tests into separate test package 2024-05-08 16:28:56 +01:00