gmbeard / shadow-cast

GPU accelerated screen and audio recording for Linux
GNU General Public License v2.0
39 stars 0 forks source link

feat(metrics) Adds timing metrics collection for audio & video #27

Closed gmbeard closed 1 year ago

gmbeard commented 1 year ago

Also adds some performance testing results, incorporating the metrics.

This must be enabled at build time using -DSHADOW_CAST_ENABLE_METRICS=ON. Metrics are written to a file in the same directory as the output media, using the same filename, but with a .metrics suffix.

Also added a simple gnuplot script (./tools/metrics-plot) for visualizing the data.