Bug 915156 - Port the test-perf to node with the new marionette-client.
Bug 915156 - Part 2: finish it.

Add a 'requireGaia()'

Fix gjslint error (whitespace)

Revert some change on how we get the defaultCallback.

Remove unused code block.

This follow Bug 915158 - Allow setting a marionette runner host at runtime.

Re-add the performance reporter for Mocha.

Fix the screen unlock

Rename PerfApp to PerfTestApp.

Support entry point for launching apps.

introduce gaia-perf-marionette to perform the loop and only do npm once.
also skip profile building unless we run b2gdesktop

Really exit on excluded apps

gjslint whitespace fixes

Fix PerformanceHelper.delay()

re-implement "element" for the PerfApp helper.

Fix test iteration

Add "setringtones" to the exclusion list.

Check whitelist earlier in the tests

Get the event source - This replaces PR #13752

Pass the test data to the reporter.

Fix the marionette action.

Finally the rendering test work
Bug 915156 - Part 3 - more cleanups

Move perf.js to tests/performance

Small cleanup variables and such post review.

Remove useless comment

Fix linter errors

fix details in test to be more test-ish
split out the integration to a separate app specific file

Move some non performance marionette stuff to a helper.

Move unlock screen to the helper.

Remove extraneous console.log

Fix linter issue

Get the RUNS env for number of runs

Make sure to reset mozPerfDurations for each test.

Fix perf event observer
Bug 915156 - Part 4 - more cleanups / review / feedback

untabify

Add missing ;

Use a "constant" for the helper atom object

Rename write() to json_proxy_write() to avoid confusion until bug 944494 is fixed.

mozPerfDurations was persisted between run. All we do is collect
and report.

Missing > in the test title.
Bug 915156 - Part 5: Fix nits.
Merge pull request #13497 from hfiguiere/node-switch-over

Bug 915156 - make test-perf work again. r=jwajsberg,jlal