summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-29 03:07:29 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-29 03:07:29 (GMT)
commiteac3500387fcd966e936cbe16b75db6cf9df3abe (patch)
tree65c0001b1f7d149134e349c2d274dec4632c6c1e /tests/benchmarks
parent1410285458ff6f5e89be3cc6414466b83701eae1 (diff)
downloadQt-eac3500387fcd966e936cbe16b75db6cf9df3abe.zip
Qt-eac3500387fcd966e936cbe16b75db6cf9df3abe.tar.gz
Qt-eac3500387fcd966e936cbe16b75db6cf9df3abe.tar.bz2
Optimization: Don't use QVariant in QDeclarativeVMEMetaObject
Diffstat (limited to 'tests/benchmarks')
-rw-r--r--tests/benchmarks/declarative/qmltime/tests/vmemetaobject/null.qml13
-rw-r--r--tests/benchmarks/declarative/qmltime/tests/vmemetaobject/property.qml18
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
+ }
+ }
+ }
+
+}
+