summaryrefslogtreecommitdiff
path: root/test/test-data.sha1
diff options
context:
space:
mode:
authorLuc Trudeau <luc@trud.ca>2018-05-22 14:16:15 -0400
committerLuc Trudeau <luc@trud.ca>2018-05-29 13:04:47 +0000
commitb2898a9ade42f623cdc6ab526de657fd078660d9 (patch)
treee12d7bd0456d1e70535093d8c486ba6e64d9683c /test/test-data.sha1
parent2b08f89076d1e93339fbbcc10e3298a0eec66bd6 (diff)
downloadlibvpx-b2898a9ade42f623cdc6ab526de657fd078660d9.tar
libvpx-b2898a9ade42f623cdc6ab526de657fd078660d9.tar.gz
libvpx-b2898a9ade42f623cdc6ab526de657fd078660d9.tar.bz2
libvpx-b2898a9ade42f623cdc6ab526de657fd078660d9.zip
Bench Class For More Robust Speed Tests
To make speed testing more robust, the AbstractBench runs the desired code multiple times and report the median run time with mean absolute deviation around the median. To use the AbstractBench, simply add it as a parent to your test class, and implement the run() method (with the code you want to benchmark). Sample output for VP9QuantizeTest [ BENCH ] Bypass calculations 4x4 165.8 ms ( ±1.0 ms ) [ BENCH ] Full calculations 4x4 165.8 ms ( ±0.9 ms ) [ BENCH ] Bypass calculations 8x8 129.7 ms ( ±0.9 ms ) [ BENCH ] Full calculations 8x8 130.3 ms ( ±1.4 ms ) [ BENCH ] Bypass calculations 16x16 110.3 ms ( ±1.4 ms ) [ BENCH ] Full calculations 16x16 110.1 ms ( ±0.9 ms ) Change-Id: I1dd649754cb8c4c621eee2728198ea6a555f38b3
Diffstat (limited to 'test/test-data.sha1')
0 files changed, 0 insertions, 0 deletions