prometheus/promql/parser
Marco Pracucci 242e82b8e6
Optimize regex star operation (#448)
* Optimize .* regex matcher

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Consistent benchmark runs for BenchmarkFastRegexMatcher

Signed-off-by: Marco Pracucci <marco@pracucci.com>

* Fixed TestParseExpressions

Signed-off-by: Marco Pracucci <marco@pracucci.com>

---------

Signed-off-by: Marco Pracucci <marco@pracucci.com>
2023-03-09 09:38:41 +01:00
..
ast.go Update go to 1.19, set min version to 1.18 (#11279) 2022-09-07 11:30:48 +02:00
functions.go promql: Add histogram_count and histogram_sum 2022-06-28 18:16:48 +02:00
generated_parser.y Update package promql for new labels.Labels type 2022-12-19 15:22:09 +00:00
generated_parser.y.go Update package promql for new labels.Labels type 2022-12-19 15:22:09 +00:00
lex.go Adds support for prettifying PromQL expression (#10544) 2022-07-07 18:13:36 +05:30
lex_test.go Run gofumpt on all files (#10392) 2022-03-03 17:21:05 +01:00
parse.go Switch from 'sanity' to more inclusive lanuage (#9376) 2022-11-28 17:09:18 +00:00
parse_test.go Optimize regex star operation (#448) 2023-03-09 09:38:41 +01:00
prettier.go Adds support for prettifying PromQL expression (#10544) 2022-07-07 18:13:36 +05:30
prettier_rules.md Adds support for prettifying PromQL expression (#10544) 2022-07-07 18:13:36 +05:30
prettier_test.go Prettifier: Add spaces with non-callable keywords (#11005) 2022-07-15 00:09:56 +02:00
printer.go Prettifier: Add spaces with non-callable keywords (#11005) 2022-07-15 00:09:56 +02:00
printer_test.go Prettifier: Add spaces with non-callable keywords (#11005) 2022-07-15 00:09:56 +02:00
value.go promql: use explicit type declare instead of string. (#7716) 2020-08-02 09:57:38 +01:00