diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-29 03:07:29 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-29 03:07:29 (GMT) |
commit | eac3500387fcd966e936cbe16b75db6cf9df3abe (patch) | |
tree | 65c0001b1f7d149134e349c2d274dec4632c6c1e /tests | |
parent | 1410285458ff6f5e89be3cc6414466b83701eae1 (diff) | |
download | Qt-eac3500387fcd966e936cbe16b75db6cf9df3abe.zip Qt-eac3500387fcd966e936cbe16b75db6cf9df3abe.tar.gz Qt-eac3500387fcd966e936cbe16b75db6cf9df3abe.tar.bz2 |
Optimization: Don't use QVariant in QDeclarativeVMEMetaObject
Diffstat (limited to 'tests')
-rw-r--r-- | tests/benchmarks/declarative/qmltime/tests/vmemetaobject/null.qml | 13 | ||||
-rw-r--r-- | tests/benchmarks/declarative/qmltime/tests/vmemetaobject/property.qml | 18 |
2 files changed, 31 insertions, 0 deletions
diff --git a/tests/benchmarks/declarative/qmltime/tests/vmemetaobject/null.qml b/tests/benchmarks/declarative/qmltime/tests/vmemetaobject/null.qml new file mode 100644 index 0000000..a31af5a --- /dev/null +++ b/tests/benchmarks/declarative/qmltime/tests/vmemetaobject/null.qml @@ -0,0 +1,13 @@ +import Qt 4.6 +import QmlTime 1.0 as QmlTime + +Item { + + QmlTime.Timer { + component: Component { + QtObject { + } + } + } + +} diff --git a/tests/benchmarks/declarative/qmltime/tests/vmemetaobject/property.qml b/tests/benchmarks/declarative/qmltime/tests/vmemetaobject/property.qml new file mode 100644 index 0000000..007d12a --- /dev/null +++ b/tests/benchmarks/declarative/qmltime/tests/vmemetaobject/property.qml @@ -0,0 +1,18 @@ +import Qt 4.6 +import QmlTime 1.0 as QmlTime + +Item { + + QmlTime.Timer { + component: Component { + QtObject { + property string s + property string s2 + property string s3 + property string s4 + } + } + } + +} + |