Add benchmark for QChar
authorKent Hansen <kent.hansen@nokia.com>
Wed, 14 Sep 2011 08:53:50 +0000 (10:53 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 15 Sep 2011 18:39:28 +0000 (20:39 +0200)
commit6e557155810505525ec976cf7b9421e5c8970b55
tree2d03485e6ae553eb7ea7afce7b4dc3f2373086be
parent4b3a551e05c94abf73eba9857b0769603fb85fd1
Add benchmark for QChar

The benchmark isn't exhaustive, but tests the functions
that are heavily used by QtDeclarative.

For performance reasons, QtDeclarative has its own
implementation of various QChar functions (in
qdeclarativeutils_p.h). But we want to make the actual
QChar functions as fast, so that QtDeclarative can also
use them.

Change-Id: Ic25f30651224c39f2824380d679b8500739f38c3
Reviewed-on: http://codereview.qt-project.org/4900
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
tests/benchmarks/corelib/tools/qchar/main.cpp [new file with mode: 0644]
tests/benchmarks/corelib/tools/qchar/qchar.pro [new file with mode: 0644]