Added extra tests to json benchmark
authorKurt Korbatits <kurt.korbatits@nokia.com>
Mon, 19 Mar 2012 04:54:16 +0000 (14:54 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 21 Mar 2012 23:00:28 +0000 (00:00 +0100)
commitbcba6ed25244b36a7975a7c1bc429732d54818d1
tree4e445ee199d250ed2af123a5419535cf332a26a4
parentdf6a08951af9005ef86d3eb43ef2816a74837a9f
Added extra tests to json benchmark

- Added toByteArray() and fromByteArray() benchmark tests.
  Performance tests to measure QVariantMap to bytearray
  and bytearray to QVariantMap.
  Use case: Interprocess communications via local socket

Change-Id: If5e94ff870890b2ebb665f3cc38f5c33b34547f4
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/benchmarks/corelib/json/tst_bench_qtbinaryjson.cpp