Skip to content

Commit c254783

Browse files
committed
docs(benchpress): add details about normalized mobile environment.
1 parent e819e97 commit c254783

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modules/benchpress/docs/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,10 @@ When looking into the DevTools Timeline, we see a marker as well:
162162

163163
* Use normalized environments
164164
- metrics that are dependent on the performance of the execution environment must be executed on a normalized machine
165-
- e.g. a real mobile device whose cpu frequency is set to a fixed value
165+
- e.g. a real mobile device whose cpu frequency is set to a fixed value.
166+
* see our [build script](https://github.com/angular/angular/blob/master/scripts/ci/android_cpu.sh)
167+
* this requires root access, e.g. via a userdebug build of Android on a Google Nexus device
168+
(see [here](https://source.android.com/source/building-running.html) and [here](https://source.android.com/source/building-devices.html#obtaining-proprietary-binaries))
166169
- e.g. a calibrated machine that does not run background jobs, has a fixed cpu frequency, ...
167170

168171
* Use relative comparisons

0 commit comments

Comments
 (0)