Hello,
I'm working on benchmarking my Backbone application - testing Views initialising and rendering performance.
We have grunt + karma + jasmine setup and running.
I've created performance Jasmine tests where I measure rending speed using HTML 5 User Timing API and get some results.
So my next step is to create custom reporter that could collect this performance information after each spec execution and create XML output file.
So my question is: how can I access information from "window.performance.measure" method in my reporter or inject this data into Result object for "this.specSuccess" method from my tests? I need to pass this data from Jasmine tests (or application) to Karma
Could you please suggest me the best way to do such things?
Thanks in advance