Skip to content

Instantly share code, notes, and snippets.

@rwood-moz
Created July 15, 2015 18:49
Show Gist options
  • Save rwood-moz/083d38a55790edfa3365 to your computer and use it in GitHub Desktop.
Save rwood-moz/083d38a55790edfa3365 to your computer and use it in GitHub Desktop.
rwood@ubuntu:~/mozilla-raptor$ ls
bin config.json index.js lib LICENSE node_modules package.json package.json~ README.md tests
rwood@ubuntu:~/mozilla-raptor$ ls /home/rwood/tmp/
b2g-distro npm-10485-Lj7wjp9B npm-5972-7QYQkfUT npm-9902-vNej8fA3
npm-10067-JyT294n7 npm-4148-AOQhwqDA npm-60117-VXiRkilP npm-9995-W0tbo0sh
rwood@ubuntu:~/mozilla-raptor$ DEBUG=raptor:* raptor --log /home/rwood/tmp/raptor99.log test coldlaunch --app clock
[Cold Launch: clock.gaiamobile.org] Preparing to start testing...
raptor:command [Executing] adb devices +0ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'getprop' +20ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb push /home/rwood/mozilla-raptor/lib/device/orng.pie /data/local/orng +109ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'chmod 777 /data/local/orng' +142ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb pull /system/b2g/webapps/settings.gaiamobile.org/application.zip /tmp/raptor-temp115615-43303-16ls2dt/application.zip +62ms
raptor:helpers Gaia revision for device: 794aa174dd9aa2dffa23ce21a8da52ecc4b3cde3 +3s
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb pull /system/sources.xml /tmp/raptor-temp115615-43303-v7fhho/sources.xml +1ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb pull /system/b2g/application.ini /tmp/raptor-temp115615-43303-4in2af/application.ini +234ms
raptor:helpers Gecko revision for device: c95ebeebbc5d +146ms
raptor:logging Starting logging process +1ms
raptor:logging Clearing +6ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'logcat -c' +0ms
raptor:helpers Restarting B2G +63ms
raptor:command [Executing] DEVICETIME=$(ANDROID_SERIAL=YT9112BFWN adb shell 'echo $EPOCHREALTIME') && ANDROID_SERIAL=YT9112BFWN adb shell 'stop b2g && start b2g' && ANDROID_SERIAL=YT9112BFWN adb wait-for-device && echo $DEVICETIME +0ms
raptor:phase Waiting for Homescreen +151ms
raptor:phase Waiting for System +0ms
raptor:phase Capturing System PID: 7906 +12s
raptor:phase Capturing Homescreen PID: 8102 +412ms
[Cold Launch: clock.gaiamobile.org] Priming application
raptor:coldlaunch Capturing application PID: 8404 +12s
raptor:helpers Killing process 8404 +0ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'kill 8404' +0ms
[Cold Launch: clock.gaiamobile.org] Starting run 1
raptor:phase Received performanceentry `appLaunch` in clock.gaiamobile.org +11s
raptor:phase Received performanceentry `navigationLoaded` in clock.gaiamobile.org +106ms
raptor:phase Received performanceentry `navigationInteractive` in clock.gaiamobile.org +43ms
raptor:phase Received performanceentry `visuallyLoaded` in clock.gaiamobile.org +63ms
raptor:phase Received performanceentry `contentInteractive` in clock.gaiamobile.org +1ms
raptor:phase Received performanceentry `fullyLoaded` in clock.gaiamobile.org +5ms
raptor:coldlaunch Capturing application PID: 8477 +0ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'b2g-info' | grep "8477" +1ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'log -p i -t PerformanceMemory "clock.gaiamobile.org|uss|15.2"' +176ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'log -p i -t PerformanceMemory "clock.gaiamobile.org|pss|19.8"' +12ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'log -p i -t PerformanceMemory "clock.gaiamobile.org|rss|34.8"' +17ms
raptor:phase Received memoryentry `uss` in clock.gaiamobile.org +61ms
raptor:phase Received memoryentry `pss` in clock.gaiamobile.org +33ms
raptor:phase Received memoryentry `rss` in clock.gaiamobile.org +16ms
raptor:helpers Killing process 8477 +2ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'kill 8477' +0ms
raptor:reporter Writing report results to file +71ms
[Cold Launch: clock.gaiamobile.org] Run 1 complete
[Cold Launch: clock.gaiamobile.org] Results from clock.gaiamobile.org
┌──────────────────────────────────┬─────────┬─────────┬─────────┬─────────┬────────┬─────┐
│ Metric │ Mean │ Median │ Min │ Max │ StdDev │ p95 │
├──────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼────────┼─────┤
│ coldlaunch.navigationLoaded │ 347.000 │ 347.000 │ 347.000 │ 347.000 │ 0.000 │ n/a │
├──────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼────────┼─────┤
│ coldlaunch.navigationInteractive │ 389.000 │ 389.000 │ 389.000 │ 389.000 │ 0.000 │ n/a │
├──────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼────────┼─────┤
│ coldlaunch.visuallyLoaded │ 454.000 │ 454.000 │ 454.000 │ 454.000 │ 0.000 │ n/a │
├──────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼────────┼─────┤
│ coldlaunch.contentInteractive │ 454.000 │ 454.000 │ 454.000 │ 454.000 │ 0.000 │ n/a │
├──────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼────────┼─────┤
│ coldlaunch.fullyLoaded │ 455.000 │ 455.000 │ 455.000 │ 455.000 │ 0.000 │ n/a │
├──────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼────────┼─────┤
│ coldlaunch.uss │ 15.200 │ 15.200 │ 15.200 │ 15.200 │ 0.000 │ n/a │
├──────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼────────┼─────┤
│ coldlaunch.pss │ 19.800 │ 19.800 │ 19.800 │ 19.800 │ 0.000 │ n/a │
├──────────────────────────────────┼─────────┼─────────┼─────────┼─────────┼────────┼─────┤
│ coldlaunch.rss │ 34.800 │ 34.800 │ 34.800 │ 34.800 │ 0.000 │ n/a │
└──────────────────────────────────┴─────────┴─────────┴─────────┴─────────┴────────┴─────┘
[Cold Launch: clock.gaiamobile.org] Testing complete
raptor:reporter Writing report results to file +8ms
raptor:logging Stopping logging process +1ms
rwood@ubuntu:~/mozilla-raptor$ ls /home/rwood/tmp/
b2g-distro npm-10485-Lj7wjp9B npm-5972-7QYQkfUT npm-9902-vNej8fA3
npm-10067-JyT294n7 npm-4148-AOQhwqDA npm-60117-VXiRkilP npm-9995-W0tbo0sh
rwood@ubuntu:~/mozilla-raptor$ ls
bin config.json index.js lib LICENSE node_modules package.json package.json~ raptor.log README.md tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment