Hello everyone! Today we released version 2.0.0[1] of the Raptor package for Firefox OS performance testing and automation. There are some breaking changes and features I wanted to share for those that use Raptor (and if you don't, you should!)
*CLI* *New JSON mode*: outputs aggregate data to stdout as JSON instead of logs and a table. This can be useful if you want to use other scripts for processing the results of a test, by piping or storing to file. For example: raptor test reboot --output json | ./did_i_regress.sh raptor test coldlaunch --app clock > results.json *New logcat option:* if something goes wrong during tests, it was previously a pain to get at the logcat as Raptor clears it frequently. Now you can specify `--logcat <filename>` and Raptor will stream the entire logcat to that file. What's great is that it even works on the reboot test, so rebooting the device with multiple runs will still give you a single logcat. *Specify custom homescreen:* It's now possible with Raptor to specify that you are using a homescreen other than the default verticalhome. Remember that custom homescreens will need to implement the proper performance markers to be usable for performance testing [2]. *General maintenance: *The bulk of changes were made to support writing to InfluxDB 0.9.3, which meant data schema changes. If you rely on the output file for anything, you'll need to make changes. Also the file is now a .ldjson file instead of generic .log. *Dashboards* *Shiny new dashboards!* If you have ever been to the Raptor dashboards, you probably know how excruciating the load times were. The dashboards now have updated UIs with improved filtering and drill-down, a newer more efficient database which dramatically improves load time, and slightly cleaner graph layout. There are also new UI enhancements to enable easier sharing of data with others. See https://raptor.mozilla.org for the shininess. The docs on MDN [3] should be updated for the new release. If you have any problems updating or using the latest version of Raptor, or would like more information about our update, please reach out to us. Thanks! Eli Perelman and Rob Wood [1] And subsequently 2.0.1 :/ [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1203993 [3] https://developer.mozilla.org/en-US/Firefox_OS/Automated_testing/Raptor
_______________________________________________ dev-fxos mailing list [email protected] https://lists.mozilla.org/listinfo/dev-fxos

