|author||Denis Nikitin <email@example.com>||Wed Aug 26 11:00:10 2020 -0700|
|committer||Commit Bot <firstname.lastname@example.org>||Thu Aug 27 02:51:18 2020 +0000|
crosperf: replace statistics stdev with pstdev Behavior and results of statistics.stdev(data) are slightly different from numpy.std(data) with default "ddof". The main difference is the divisor which is "N - 1" in stdev vs. "N" in numpy.std. As a consequence stdev fails with "N=1". The change replaces stdev with pstdev (population standard deviation) which is equivalent to numpy.std with default arguments that we were using. Added unittest with StdResult testing. BUG=None TEST=unittest and crosperf with one iteration passes. Change-Id: I70c7105e6cabc27437504de16ea27afdd719e552 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2376880 Reviewed-by: George Burgess <email@example.com> Tested-by: Denis Nikitin <firstname.lastname@example.org> Commit-Queue: Denis Nikitin <email@example.com>
Various utilities used by the Chrome OS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in
python <script> --help, or refer to the header of the script for more information.