-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/67590/
-----------------------------------------------------------
Review request for mesos and Benjamin Mahler.
Bugs: MESOS-8989
https://issues.apache.org/jira/browse/MESOS-8989
Repository: mesos
Description
-------
See summary.
Also removed the current range benchmark which could produce
misleading results for subtraction (See MESOS-8989).
Diffs
-----
src/tests/resources_tests.cpp 2da583615ac8a8fb238f4996fe661343b718bad1
Diff: https://reviews.apache.org/r/67590/diff/1/
Testing
-------
Ran on a multicore machine with peak frequency at 2.2GHz:
Took 25.435531ms to perform 1000 'a += b' operations on ports:[1-6, 11-16,
21-26... and ports:[3-8, 13-18, 23-28... with size 10
Took 76.104895ms to perform 1000 'a -= b' operations on ports:[1-6, 11-16,
21-26... and ports:[3-8, 13-18, 23-28... with size 10
Took 28.66989ms to perform 1000 'a + b' operations on ports:[1-6, 11-16,
21-26... and ports:[3-8, 13-18, 23-28... with size 10
Took 79.937531ms to perform 1000 'a - b' operations on ports:[1-6, 11-16,
21-26... and ports:[3-8, 13-18, 23-28... with size 10
Took 360.16389ms to perform 1000 'a += b' operations on ports:[1-6, 11-16,
21-26... and ports:[3-8, 13-18, 23-28... with size 100
Took 812.057397ms to perform 1000 'a -= b' operations on ports:[1-6, 11-16,
21-26... and ports:[3-8, 13-18, 23-28... with size 100
Took 298.568732ms to perform 1000 'a + b' operations on ports:[1-6, 11-16,
21-26... and ports:[3-8, 13-18, 23-28... with size 100
Took 799.168596ms to perform 1000 'a - b' operations on ports:[1-6, 11-16,
21-26... and ports:[3-8, 13-18, 23-28... with size 100
Took 5.499557097secs to perform 1000 'a += b' operations on ports:[1-6, 11-16,
21-26... and ports:[3-8, 13-18, 23-28... with size 1000
Took 10.80984876secs to perform 1000 'a -= b' operations on ports:[1-6, 11-16,
21-26... and ports:[3-8, 13-18, 23-28... with size 1000
Took 5.105380254secs to perform 1000 'a + b' operations on ports:[1-6, 11-16,
21-26... and ports:[3-8, 13-18, 23-28... with size 1000
Took 11.025490666secs to perform 1000 'a - b' operations on ports:[1-6, 11-16,
21-26... and ports:[3-8, 13-18, 23-28... with size 1000
Thanks,
Meng Zhu