Skip to content

Instantly share code, notes, and snippets.

@rwood-moz
Created July 23, 2015 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rwood-moz/16b64b186936b7258a4f to your computer and use it in GitHub Desktop.
Save rwood-moz/16b64b186936b7258a4f to your computer and use it in GitHub Desktop.
rwood@ubuntu:~/raptor$ DEBUG=raptor:* raptor test file-size --b2gfile /system/b2g/b2g
[Reboot] Preparing to start testing...
[Reboot] Starting run 1
raptor:command [Executing] adb devices +0ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'getprop' +12ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb push /home/rwood/raptor/lib/device/orng.pie /data/local/orng +120ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'chmod 777 /data/local/orng' +145ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb pull /system/b2g/webapps/settings.gaiamobile.org/application.zip /tmp/raptor-temp115623-59203-1qx57nr/application.zip +70ms
raptor:helpers Gaia revision for device: 2ae9a4c6fa09567dd079a0907e35673f1813e402 +3s
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb pull /system/sources.xml /tmp/raptor-temp115623-59203-1b3jcij/sources.xml +1ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb pull /system/b2g/application.ini /tmp/raptor-temp115623-59203-idgnxt/application.ini +231ms
raptor:helpers Gecko revision for device: c95ebeebbc5d +145ms
raptor:logging Clearing +1ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'logcat -c' +0ms
raptor:helpers Rebooting +68ms
raptor:command [Executing] DEVICETIME=$(ANDROID_SERIAL=YT9112BFWN adb shell 'echo $EPOCHREALTIME') && ANDROID_SERIAL=YT9112BFWN adb reboot && ANDROID_SERIAL=YT9112BFWN adb wait-for-device && echo $DEVICETIME +0ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'log -p i -t PerformanceTiming "system.gaiamobile.org|mark|deviceReboot|0|0|1437676954909.599"' +12s
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb forward tcp:2828 tcp:2828 +54ms
raptor:logging Starting logging process +9ms
raptor:phase Waiting for Homescreen +12ms
raptor:phase Waiting for System +0ms
raptor:phase Received performanceentry `deviceReboot` in system.gaiamobile.org +357ms
raptor:phase Received performanceentry `gecko-shell-html-load` in b2g +2s
raptor:phase Received performanceentry `gecko-settings-loadstart` in b2g +7ms
raptor:phase Received performanceentry `gecko-shell-loadstart` in b2g +225ms
raptor:phase Received performanceentry `gecko-shell-jsm-loaded` in b2g +205ms
raptor:phase Received performanceentry `gecko-shell-bootstrap` in b2g +1s
raptor:phase Received performanceentry `gecko-shell-start` in b2g +4ms
raptor:phase Received performanceentry `gecko-shell-system-frame-set` in b2g +116ms
raptor:phase Received performanceentry `gecko-shell-notify-content-start` in b2g +106ms
raptor:phase Received performanceentry `loadEnd` in system.gaiamobile.org +421ms
raptor:phase Received performanceentry `ftuSkip` in system.gaiamobile.org +3s
raptor:phase Received performanceentry `homescreenStart` in system.gaiamobile.org +172ms
raptor:phase Received performanceentry `navigationLoaded` in verticalhome.gaiamobile.org +184ms
raptor:phase Received performanceentry `navigationInteractive` in verticalhome.gaiamobile.org +5ms
raptor:phase Received performanceentry `visuallyLoaded` in system.gaiamobile.org +388ms
raptor:phase Received performanceentry `visuallyLoaded` in verticalhome.gaiamobile.org +2s
raptor:phase Received performanceentry `contentInteractive` in verticalhome.gaiamobile.org +2ms
raptor:phase Received performanceentry `fullyLoaded` in verticalhome.gaiamobile.org +309ms
raptor:phase Capturing Homescreen PID: 1200 +0ms
raptor:phase Received performanceentry `fullyLoaded` in system.gaiamobile.org +273ms
raptor:phase Capturing System PID: 316 +0ms
raptor:marionette Triggering memory minimization +625ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'b2g-info' | grep "1200" +2s
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'b2g-info' | grep "316" +4ms
raptor:phase Received performanceentry `osLogoEnd` in system.gaiamobile.org +11ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'log -p i -t PerformanceMemory "system.gaiamobile.org|uss|64.1"' +112ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'log -p i -t PerformanceMemory "system.gaiamobile.org|pss|72.6"' +4ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'log -p i -t PerformanceMemory "system.gaiamobile.org|rss|87.7"' +4ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'log -p i -t PerformanceMemory "verticalhome.gaiamobile.org|uss|23.7"' +18ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'log -p i -t PerformanceMemory "verticalhome.gaiamobile.org|pss|30.3"' +4ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'log -p i -t PerformanceMemory "verticalhome.gaiamobile.org|rss|42.4"' +6ms
raptor:phase Received memoryentry `uss` in system.gaiamobile.org +24ms
raptor:phase Received memoryentry `pss` in system.gaiamobile.org +4ms
raptor:phase Received memoryentry `rss` in system.gaiamobile.org +4ms
raptor:phase Received memoryentry `uss` in verticalhome.gaiamobile.org +22ms
raptor:phase Received memoryentry `pss` in verticalhome.gaiamobile.org +4ms
raptor:phase Received memoryentry `rss` in verticalhome.gaiamobile.org +5ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'ls -l /system/b2g/b2g' +1ms
raptor:command [Executing] ANDROID_SERIAL=YT9112BFWN adb shell 'log -p i -t PerformanceFilesize "/system/b2g/b2g|filesize|177648"' +74ms
raptor:phase Received filesizeentry `filesize.system/b2g/b2g` in system.gaiamobile.org +60ms
raptor:reporter Writing report results to file +2ms
[Reboot] Run 1 complete
[Reboot] Results from b2g
| Metric | Mean | Median | Min | Max | StdDev | p95 |
| --------------------------------------- | --------- | --------- | --------- | --------- | ------ | --- |
| reboot.gecko-shell-html-load | 14318.000 | 14318.000 | 14318.000 | 14318.000 | 0.000 | n/a |
| reboot.gecko-settings-loadstart | 14326.000 | 14326.000 | 14326.000 | 14326.000 | 0.000 | n/a |
| reboot.gecko-shell-loadstart | 14551.000 | 14551.000 | 14551.000 | 14551.000 | 0.000 | n/a |
| reboot.gecko-shell-jsm-loaded | 206.490 | 206.490 | 206.490 | 206.490 | 0.000 | n/a |
| reboot.gecko-shell-bootstrap | 15944.000 | 15944.000 | 15944.000 | 15944.000 | 0.000 | n/a |
| reboot.gecko-shell-start | 15948.000 | 15948.000 | 15948.000 | 15948.000 | 0.000 | n/a |
| reboot.gecko-shell-system-frame-set | 16064.000 | 16064.000 | 16064.000 | 16064.000 | 0.000 | n/a |
| reboot.gecko-shell-notify-content-start | 16170.000 | 16170.000 | 16170.000 | 16170.000 | 0.000 | n/a |
[Reboot] Results from system.gaiamobile.org
| Metric | Mean | Median | Min | Max | StdDev | p95 |
| ------------------------------ | --------- | --------- | --------- | --------- | ------ | --- |
| reboot.loadEnd | 16591.000 | 16591.000 | 16591.000 | 16591.000 | 0.000 | n/a |
| reboot.ftuSkip | 19657.000 | 19657.000 | 19657.000 | 19657.000 | 0.000 | n/a |
| reboot.homescreenStart | 19829.000 | 19829.000 | 19829.000 | 19829.000 | 0.000 | n/a |
| reboot.visuallyLoaded | 20406.000 | 20406.000 | 20406.000 | 20406.000 | 0.000 | n/a |
| reboot.fullyLoaded | 22714.000 | 22714.000 | 22714.000 | 22714.000 | 0.000 | n/a |
| reboot.uss | 64.100 | 64.100 | 64.100 | 64.100 | 0.000 | n/a |
| reboot.pss | 72.600 | 72.600 | 72.600 | 72.600 | 0.000 | n/a |
| reboot.rss | 87.700 | 87.700 | 87.700 | 87.700 | 0.000 | n/a |
| reboot.filesize.system/b2g/b2g | 0.169 | 0.169 | 0.169 | 0.169 | 0.000 | n/a |
[Reboot] Results from verticalhome.gaiamobile.org
| Metric | Mean | Median | Min | Max | StdDev | p95 |
| ---------------------------- | --------- | --------- | --------- | --------- | ------ | --- |
| reboot.navigationLoaded | 20013.000 | 20013.000 | 20013.000 | 20013.000 | 0.000 | n/a |
| reboot.navigationInteractive | 20018.000 | 20018.000 | 20018.000 | 20018.000 | 0.000 | n/a |
| reboot.visuallyLoaded | 22130.000 | 22130.000 | 22130.000 | 22130.000 | 0.000 | n/a |
| reboot.contentInteractive | 22132.000 | 22132.000 | 22132.000 | 22132.000 | 0.000 | n/a |
| reboot.fullyLoaded | 22441.000 | 22441.000 | 22441.000 | 22441.000 | 0.000 | n/a |
| reboot.uss | 23.700 | 23.700 | 23.700 | 23.700 | 0.000 | n/a |
| reboot.pss | 30.300 | 30.300 | 30.300 | 30.300 | 0.000 | n/a |
| reboot.rss | 42.400 | 42.400 | 42.400 | 42.400 | 0.000 | n/a |
[Reboot] Testing complete
raptor:reporter Writing report results to file +9ms
raptor:logging Stopping logging process +1ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment