mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 17:43:35 -06:00
This commit updates eval.go to improve the performance of matching captures in the general case. In some cases we have reduced the runtime of the function from 10s of minutes to a couple 100ms. In the case where no capture matches the exact labels, we revert to the current subset/superset match, but with a reduced search space due to grouping captures. |
||
---|---|---|
.. | ||
eval_mocks | ||
context.go | ||
eval_bench_test.go | ||
eval_test.go | ||
eval.go | ||
extract_md_test.go | ||
extract_md.go | ||
testing.go |