Skip to main content

Benchmarks

Due to the performance-sensitive nature of metrics collection, we include a suite of benchmarks that compare the various analytics store implementations. These are run every publish and stored in the associated GitHub action history.

We also include results from major releases here.

In summary, we have found that the MemoryAnalyticsStore and PostgresAnalyticsStore implementations are very close in performance, with the Postgres implementation slightly faster in most applications.

Query-list

In this benchmark, we ran the most frequent 600+ real-world queries against matching tables of around 200k records.

We found that, on average, the MemoryAnalyticsStore implementation took about 1.36x the time it took PostgresAnalyticsStore. Full results here.

WASM

In this benchmark, we analyze the startup and insert time for the MemoryAnalyticsStore implementation.

OperationOps per SecAverage Time
Init3323.00 ms
100 Inserts4782.08 ms
200k Inserts04448.10 ms