Benchmark harness for gtest

40 views
Skip to first unread message

Luca Barbato

unread,
Feb 15, 2017, 11:55:05 AM2/15/17
to codec...@webmproject.org
I tried to figure out if the test system for libvpx can be used to
extract some performance data on the single functions it tests.

Running the single test a large number of times and measure the
wallclock is an option, but I'm wondering if there is already a way to
ask the runner to measure the time over a large amount of iterations and
I overlooked it.

lu

Aℓex Converse

unread,
Feb 15, 2017, 11:59:15 AM2/15/17
to codec...@webmproject.org
Hi Luca,

Typically we use vpx_timer for these sorts of tests. An example test that uses it is test_intra_pred_speed.cc.

--Alex


--
You received this message because you are subscribed to the Google Groups "Codec Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codec-devel+unsubscribe@webmproject.org.
To post to this group, send email to codec...@webmproject.org.
Visit this group at https://groups.google.com/a/webmproject.org/group/codec-devel/.
For more options, visit https://groups.google.com/a/webmproject.org/d/optout.

Luca Barbato

unread,
Feb 15, 2017, 2:58:23 PM2/15/17
to codec...@webmproject.org
On 15/02/2017 17:59, 'Aℓex Converse' via Codec Developers wrote:
> Hi Luca,
>
> Typically we use vpx_timer for these sorts of tests. An example test
> that uses it is test_intra_pred_speed.cc.
>

Nobody has plans to add a --benchmark in test_libvpx I guess =/

lu
Reply all
Reply to author
Forward
0 new messages