Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Adds comparative performance tests for using projections versus materialized views & for baselining raw query execution compared to OpenMeter performance.
Based on the results projections have around 2-3x worse performance compared to using materialized views. The sample tests were run on 1M events with the default configuration in
perf/configs
.Sample screenshots of the test runs:
(see
MATERIALISED
&PROJECTION
lines)(see
CLICKHOUSE
&OPENMETER
lines)For running the tests for yourself check
docs/perftest.md
andperf/k6/README.md
Fixes #700
Notes for reviewer
Still in draft as the dagger automation for perf tests currently hangs.
Checklist