nystudio107 / craft-webperf

Webperf helps you build & maintain high quality websites through Real User Measurement of your website's performance
https://nystudio107.com/plugins/webperf
Other
25 stars 2 forks source link

Setting to disable Samples from Live Preview? #14

Closed jmcgaha closed 5 years ago

jmcgaha commented 5 years ago

I recently added this to a site with some performance issues and my client noticed that if you are using Live Preview, it's recording a new sample every time it refreshes live preview which potentially results in a lot of samples and could perhaps end up skewing the data.

I just wonder if it would make sense to have a config option to turn off recording data in Live Preview.

khalwat commented 5 years ago

Fixed in https://github.com/nystudio107/craft-webperf/commit/0af65620dead979d819b055ebd7067208af7c6f3