MB-27793: Create script to convert Google Benchmark JSON response to XML for CBNT
MB-27793: Create script to convert Google Benchmark JSON response to XML
for CBNT

Example output from Google Benchmark:

{
  "context": {
    "date": "2018-01-30 15:05:01",
    "num_cpus": 8,
    "mhz_per_cpu": 2300,
    "cpu_scaling_enabled": false,
    "library_build_type": "release"
  },
  "benchmarks": [
    {
      "name": "AccessLogBenchEngine/MemoryOverhead/0/32768/min_time:0.000",
      "iterations": 1,
      "real_time": 43218,
      "cpu_time": 9000,
      "time_unit": "ns",
      "MaxBytesAllocatedPerItem": 0,
      "label": "Control"
    },
    {
      "name": "AccessLogBenchEngine/MemoryOverhead/1/32768/min_time:0.000",
      "iterations": 1,
      "real_time": 33869176,
      "cpu_time": 27173000,
      "time_unit": "ns",
      "MaxBytesAllocatedPerItem": 80,
      "label": "AccessScanner"
    },
    {
      "name": "DefragmentBench/Visit/0",
      "iterations": 1,
      "real_time": 857738169,
      "cpu_time": 855854000,
      "time_unit": "ns",
      "ItemsPerSec": 5836006,
      "label": "ValueOnly"
    }
  ]
}

Example formatted output:

<testsuites timestamp="2018-01-30T15:05:01">
  <testsuite name="AccessLogBenchEngine">
    <testcase name="MemoryOverhead/0/32768/min_time:0.000" time="0.043218" classname="AccessLogBenchEngine"/>
    <testcase name="MemoryOverhead/1/32768/min_time:0.000" time="33.869176" classname="AccessLogBenchEngine"/>
  </testsuite>
  <testsuite name="DefragmentBench">
    <testcase name="Visit/0" time="857.738169" classname="DefragmentBench"/>
  </testsuite>
</testsuites>

Change-Id: Ib75f221692e7c4c7df4a6c055228715984dca7ca
Reviewed-on: http://review.couchbase.org/88564
Reviewed-by: Dave Rigby <a09264da4832c7ff1d3bf1608a19f4b870f93750@couchbase.com>
Tested-by: Tim Bradgate <f1a26ee65f021cb7d82b83dfb09abf144d3eb64f@couchbase.com>

daverigby/kv_engine,daverigby/kv_engine,daverigby/kv_engine,daverigby/kv_engine