[performance] Add performance telemetry #2560
Labels
:performance
Performance related issues
:test
Missing or to be fixed test
:xy
Bar/Line/Area chart related
In order to benchmark the performance gain in elastic-charts, we should add telemetry marks on at a series of specific processing points in the chart.
Looking at elastic/kibana#182551 is possible to identify a set of at least 3 phases in elastic-charts where the time spent can be significant with the increase of the number of data points:
The first 2 phases can also be broken down into smaller chunks, but for now, I believe this is enough to understand time improvements.
We also need to understand that telemetry can change significantly in different browser contexts, and there isn't a stable way to rerun the same test with exactly the same CPU and memory conditions then the previous test. The differences can be in the order of 10/50ms within our current rendering time is a lot and can hide improvements. So for now better to keep the phases as large as possible.
The strategy for the telemetry, that will be collected in Kibana, could be:
The text was updated successfully, but these errors were encountered: