History log of /system/core/init/perfboot.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
246b0fd0d9cccc28150f71d55d817f9cacf2a7e0 25-Feb-2016 Yusuke Sato <yusukes@google.com> Use ro.debuggable instead of ro.build.type

Change-Id: I4d7c8c353ff47fbeee065b2c4fdd984768d0da00
/system/core/init/perfboot.py
6ee194013ae27a9b73d011e9fe246c6d8ecef6d5 15-Sep-2015 Yasuhiro Matsuda <mazda@google.com> Fix perfboot.py to work with the recent change.

device.shell() was changed to return a (stdout, stderr) tuple in
the following CL.

https://android-review.googlesource.com/170420

This CL fixes perfboot.py to work with the return value.

Change-Id: I85d72fc63c1f96257fb19c3051482991a7b4049d
/system/core/init/perfboot.py
3966ebb74d7aec08169b99d3cecf23ea3815435f 18-Aug-2015 Yusuke Sato <yusukes@google.com> perfboot.py: Add --end-tag option

The current behavior, which is to use tags[-1] for end_tag, is good
enough in most cases, but sometime it makes more sense to use a
different one as end_tag.

For example, when optimizing APK scanning code in package manager,
using 'boot_progress_pms_scan_end' as end_tag would give us quicker
benchmark iterations as well as more relevant numbers possibly with
a smaller standard deviation.

Change-Id: Ic6371c936b36d1d87e9742502fd8958682a3b7d5
/system/core/init/perfboot.py
50de8224a6ec2e6e0de4197eb545c17ee4303dff 06-Aug-2015 Yasuhiro Matsuda <mazda@google.com> Merge "Enable perfboot.py to install APKs before measurement."
c0822e83ad11e42e02f2304e9cf925ea944b8f53 05-Aug-2015 Yasuhiro Matsuda <mazda@google.com> Enable perfboot.py to install APKs before measurement.

This CL adds --apk-dir option, which specifies the directory
that contains APK files to be installed before measuring
boot time.

BUG: 22207911
Change-Id: Ifeacf34c779248686443a9ef02485272c140a456
/system/core/init/perfboot.py
f3d0d42f1a38906e0e80ab96368ad01b8a58f8d0 05-Aug-2015 Yasuhiro Matsuda <mazda@google.com> Fix incorrect exception handling in perfboot.py

RuntimeError used to be missed unintentionally.

BUG: 22207911
Change-Id: I69772350c22fac93d49745c3bc934dda7188bb77
/system/core/init/perfboot.py
1ada513f5042a13fff3fb64671d110defb6725fc 05-Aug-2015 Yasuhiro Matsuda <mazda@google.com> Merge "Fix perfboot.py to exit by Ctrl+C."
43c4d998cf8bb5875479d84cb5e5c253a7a11af6 04-Aug-2015 Yusuke Sato <yusukes@google.com> perfboot.py: check 2 more event logs by default

'sf_stop_bootanim' is useful for tracking the time wasted by
showing the 'outro' part of the boot animation.

'wm_boot_animation_done' is also useful for tracking user
perceived boot time.

(cherry-pick of cbcf2778c39e9da2e29ebdf1038b6116a76ff22e)

Bug: 22207911
Change-Id: I3549338a2161fa29675993c239f57809270797f8
/system/core/init/perfboot.py
59d32a7515c757d6171605bea0ef631d1837b365 04-Aug-2015 Yasuhiro Matsuda <mazda@google.com> Fix perfboot.py to exit by Ctrl+C.

BUG: 22207911
Change-Id: I0cc41f834207efd2965483c8636bbc709e54358f
/system/core/init/perfboot.py
e801cc0b4e26d13a4d5dc3ef771172dec96ad4ec 04-Aug-2015 Yusuke Sato <yusukes@google.com> perfboot.py: ignore tags not listed in /system/etc/event-log-tags

This is a follow-up CL for http://ag/739815/.

Bug: 22207911
Change-Id: Ie5f529abc4b18454cea8a75a1438a5ea65dd90ab
/system/core/init/perfboot.py
b6c66dc0a3fbd8f76ad9ca5fb6d9049a784b7396 31-Jul-2015 Yusuke Sato <yusukes@google.com> perfboot.py: warn if dm-verity is disabled

Disabling the feature sometimes skews benchmark results.

Bug: 22207911
Change-Id: Idedc7eb14e3cc4e8687b0c0e2975f10a3c4154e5
/system/core/init/perfboot.py
ab3798399dfe970a12a25f79c4392602b6d7515b 02-Jul-2015 Yasuhiro Matsuda <mazda@google.com> Add a script to record Android boot time.

perfboot.py repeats the record of each event log during Android
boot specified times. By default, interval between measurements
is adjusted in such a way that CPUs are cooled down sufficiently
to avoid boot time slowdown caused by CPU thermal throttling.
This script also works around the issue of dropbox slowing down
boot time on userdebug build (http://b/20890386) by limiting
the number of files to be created by dropbox.
The result is output in a tab-separated value format.

BUG: 22207911
Change-Id: I0ddbac5d1c941efda87bc6db6388d8194d4bb3dd
/system/core/init/perfboot.py