Open
Description
First understand how to use perf.
At each query start, run:
perf record -e cycles presto_server
At query end, run:
perf report
to get high level reports, and
perf annotation
for additional drill down info.
We want to collect them for every query in Power Test. However taking it on all workers may result in a lot of data. So pbench needs to pick one random worker and the coordinator.
The results shall be stored in a MySQL table in the presto_performance database.
The performance dashboard will show this reports for each query in the QueryDetails view.