Make Puppeteer performance test code available in a separate package
thomashoneyman opened this issue · 1 comments
The performance tests in Halogen Hooks could be useful to other packages that would like to measure in-browser performance for their components. These tests measure frames per second, memory usage, and execution time as well as recording performance traces that can be uploaded to Chrome's Dev Tools for manual examination.
This isn't Halogen-specific and could be used by other libraries that need to measure performance in the browser. The Puppeteer code could also (possibly) be replaced with purescript-toppokki, though given the narrow scope of this performance testing perhaps it's nicer to just keep that code minimal and dependency-free.
Example name: purescript-spec-web-performance
Given the variability in these tests I'm really not sure this is a good idea. With that in mind, closing.