CBD-895: calculate xperf related metrics

Change-Id: I5d2b0755eb5ee74c3089a66c93580b7fde498b19
Reviewed-on: http://review.couchbase.org/25350
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>