docs(benchpress): add details about normalized mobile environment.

This commit is contained in:
Tobias Bosch 2015-04-15 10:12:13 -07:00
parent e819e97f9a
commit c25478380c
1 changed files with 4 additions and 1 deletions

View File

@ -162,7 +162,10 @@ When looking into the DevTools Timeline, we see a marker as well:
* Use normalized environments
- metrics that are dependent on the performance of the execution environment must be executed on a normalized machine
- e.g. a real mobile device whose cpu frequency is set to a fixed value
- e.g. a real mobile device whose cpu frequency is set to a fixed value.
* see our [build script](https://github.com/angular/angular/blob/master/scripts/ci/android_cpu.sh)
* this requires root access, e.g. via a userdebug build of Android on a Google Nexus device
(see [here](https://source.android.com/source/building-running.html) and [here](https://source.android.com/source/building-devices.html#obtaining-proprietary-binaries))
- e.g. a calibrated machine that does not run background jobs, has a fixed cpu frequency, ...
* Use relative comparisons