summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/4.8'Olivier Goffart2011-05-24243-4126/+4131
|\
| * Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-symbian-staging into ↵Qt Continuous Integration System2011-05-203-0/+5
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/qt-symbian-staging: Increased EPOCHEAPSIZE for qpainter benchmark Increased EPOCHEAPSIZE for few benchmarks Update Symbian DEF-files Improve DEFINES crossplatform compatibility in Symbian builds. Freezing the QtCore defs again for 4.8.
| | * Increased EPOCHEAPSIZE for qpainter benchmarkMiikka Heikkinen2011-05-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Insufficient heap size was causing out-of-memory errors in qpainter benchmark. Task-number: QTBUG-17724 Reviewed-by: TrustMe
| | * Increased EPOCHEAPSIZE for few benchmarksMiikka Heikkinen2011-05-182-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Insufficient heap size was causing containers-sequential and qgraphicsscene benchmarks to panic in Symbian^1 devices. Task-number: QTBUG-17725 Reviewed-by: Sami Merila
| * | Update licenseheader text in source files for qt4.8Jyri Tahtela2011-05-13240-4126/+4126
| |/ | | | | | | | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* | Add QUuid::toRfc4122() and fromRfc4122()Liang Qi2011-05-201-0/+18
| | | | | | | | | | | | | | | | | | | | | | Following the RFC4122, provide the interfaces between QUuid and QByteArray, they are simpler then toByteArray() and relevant. Thanks for the suggestion and brief code from Robin Burchell. Task-number: QTBUG-19420 Reviewed-by: joao
* | Add QUuid::toByteArray() and relevantLiang Qi2011-05-201-0/+18
| | | | | | | | | | | | | | | | Add QUuid::toByteArray() and QUuid(const QByteArray &). Same behavior with QUuid::toString() and QUuid(const QString &). Task-number: QTBUG-19419 Reviewed-by: joao
* | Add some autotests and benchmarks for QUuidLiang Qi2011-05-201-0/+89
|/ | | | | | Missing those functions for optimization. Reviewed-by: joao
* Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-symbian-staging into ↵Qt Continuous Integration System2011-05-051-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/qt-symbian-staging: Fix BlendBench::unalignedBlendArgb32 test case Fix memory leak in XSD component of XmlPatterns Added autotest for threaded text rendering. Implement support for enable_backup CONFIG value. Make text rendering working outside the gui thread on Symbian. Fix autotest failure in XmlPattern qxmlquery Fix memory leak bugs in XmlPatterns Symbian's QElapsedTimer::restart() fixed to return ms rather than us Create a cleanup stack for each new thread on Symbian. Do not modify window size for fullscreen windows in setGeometry_sys Fixed Qt UDA creation for Symbian Enablers for the Qt eclipsing in Symbian Improve logic to find default certificates in createpackage script Fix "make sis" for projects that have empty OBJECTS_DIR Add focus frame support in style sheet Fix OpenGL build break on Symbian
| * Merge remote-tracking branch 'qt/4.8'Sami Lempinen2011-04-2816-4/+1011
| |\
| * | Fix BlendBench::unalignedBlendArgb32 test caseMiikka Heikkinen2011-04-271-2/+2
| | | | | | | | | | | | | | | | | | | | | The test case freed the wrong pointer, causing crash in Symbian devices. Task-number: QTBUG-17489 Reviewed-by: Janne Koskinen
* | | Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml-staging into ↵Qt Continuous Integration System2011-05-041-1/+48
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/qt-qml-staging: QmlViewer: Translate UI Fix insert and scroll to bottom case QDeclarativeDebug: Fix test case QDeclarativeDebug: Handle case where client with ongoing queries is deleted Remove compile warning Fix QUnifiedTimer bug Stop the animation driver when there are no more animations. Optimization and benchmark for setting object properties from QML. Add Constant and Final flags to QMetaObjectBuilder Fixed QML TextEdit docs Make -no-opengl exist on other platforms Only ask for name when the user goes on the high score list.
| * \ \ Merge branch 'master' of ../qt-qml-stagingMichael Brasser2011-04-143-1/+235
| |\ \ \ | | |/ /
| * | | Merge ../qt-qml-stagingYann Bodson2011-03-2912-22/+73541
| |\ \ \
| * | | | Optimization and benchmark for setting object properties from QML.Michael Brasser2011-03-161-1/+48
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib923e5d3946e99001ef682a9dd8ca6d7788818a3 Reviewed-by: Aaron Kennedy
* | | | | Merge remote-tracking branch 'origin/4.7' into qt-4.8-from-4.7Olivier Goffart2011-05-033-0/+160
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicslayout.cpp src/gui/graphicsview/qgraphicslayout_p.cpp
| * | | | Benchmark for layout hierarchiesJan-Arve Sæther2011-04-143-0/+160
| | | | |
* | | | | Cleaned up benchmark project files.jasplin2011-04-262-3/+4
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Sergio Ahumada
* | | | | Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2011-04-1811-0/+555
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | master-integration * 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (29 commits) Use s/static/Q_GLOBAL_STATIC/g in QScroller Alternative fix to the strict-aliasing violation warnings Revert "Fix strict-alias breaking warnings with GCC." Fix warning about vSize not being used in this function Do not try to test UnixFDs with the system API because it may be too old L10n: German translations for Qt 4.8 Compile with namespace support. Replace the handcoded math and change the timer buckets again. Move the constants up, preparing for refactoring Fix strict-alias breaking warnings with GCC. Fix compilation if D-Bus 1.4 isn't present. Change the number of entries in the first timer bucket. Change the error message in the timer ID deallocator. Add a benchmark for testing our QtDBus type-validation Move the QDBusPerformance test to the tests/benchmark dir Use the Qt code for validating types in QtDBus Add routines to validate D-Bus signature in QtDBus Remove the unused QDBusUnixFileDescriptor::isShared function Doc: document the QDBusUnixFileDescriptor class Autotest: really ensure that two fds are equal ...
| * | | | | Add a benchmark for testing our QtDBus type-validationThiago Macieira2011-04-133-1/+125
| | | | | | | | | | | | | | | | | | | | | | | | Our code is much faster than libdbus-1, even when built in debug mode.
| * | | | | Move the QDBusPerformance test to the tests/benchmark dirThiago Macieira2011-04-139-0/+431
| | |_|_|/ | |/| | |
* | | | | Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt into earth-masteraxis2011-04-073-1/+235
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | Conflicts: src/corelib/thread/qthread_unix.cpp
| * | | | Merge remote branch 'qt-master/master'Guoqing Zhang2011-04-0512-22/+73541
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | Merge remote branch 'qt-master/master'Guoqing Zhang2011-03-167-7/+7
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | Conflicts: src/corelib/thread/qthread_unix.cpp
| * | | | Remerging SymbianLite to team repository.Sami Lempinen2011-03-094-5/+18
| |\ \ \ \
| * \ \ \ \ Merging SymbianLite branch to master.Sami Lempinen2011-03-093-1/+235
| |\ \ \ \ \
| | * | | | | Using Symbian native mutex type in tst_bench_qmutexmread2011-03-091-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The QMutex benchmark contains benchmarks for the native mutex type. It was using pthread_mutex_t on Symbian, which isn't the true native mutex type and so isn't really representative of true native performance. Now it uses RMutex. Task-number: QTBUG-13990 Reviewed-by: Shane Kearns
| | * | | | | making the QWaitCondition benchmark more reliablemread2011-03-091-8/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The benchmark sometimes hung because wait conditions were sometimes signalled before being waited for. This change adds a real condition to control the interactions. Task-number: QTBUG-13990 Reviewed-by: Shane Kearns
| | * | | | | Starting a benchmark test for QWaitConditionmread2011-03-092-0/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new test is added in anticipation of a native implementation of QWaitCondition for Symbian. Task-number: QTBUG-13990 Reviewed-by: Shane Kearns
* | | | | | | QNetworkDiskCache: clean up after merge requestPeter Hartmann2011-04-011-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes include whitespace, parenting, recovering erroneously deleted code etc. Reviewed-by: Markus Goetz
* | | | | | | Speed benchmark for QNetworkDiskCacheSiddharth Mathur2011-04-013-1/+452
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | Merge-Request: 2505 Reviewed-by: Peter Hartmann
* | | | | | Add a once-over unrolled fromLatin1 conversion (32 characters)Thiago Macieira2011-03-271-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was suggested by Matthias Kretz on my blog. It improves on GCC (one case up to 5%), but worsens on ICC (up to 5%).
* | | | | | Add 16-byte loads of the Neon fromLatin1 functionsThiago Macieira2011-03-271-0/+68
| | | | | |
* | | | | | Remove the use of the QtTest baseline feature I revertedThiago Macieira2011-03-221-4/+4
| | | | | |
* | | | | | Use the ARM version of UTF-8 detection in the Neon codeThiago Macieira2011-03-221-16/+13
| | | | | |
* | | | | | Update the data files for the QString benchmark testThiago Macieira2011-03-223-204/+71503
| | | | | | | | | | | | | | | | | | | | | | | | Also add the Neon build flags
* | | | | | Fix a bug in the SSE2 UTF-8 decoder.Thiago Macieira2011-03-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the multibyte sequence crossed the end of the SSE2 area, then len would have a wrong value and the data wouldn't be read.
* | | | | | Add ARM Neon versions of fromLatin1 and fromUtf8Thiago Macieira2011-03-221-0/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fromLatin1 code is very simple, yet the handwritten assembly performs better due to the use of post-increments. The fromUtf8 code has two alternatives. Neon lacks an instruction similar to SSE2's _mm_movemask_epi8 (PMOVMSKB) which extracts one bit from each byte and stores it in a register. We used that in the UTF-8 code to detect bytes with the highest bit set. To compensate, we used two alternatives: 1) AND the comparison result with a vector containing {128, 64, ...,1 } Do 3 parallel-adds (VPADD.I8), which will make the mask propagate to the lowest component in the vector. Trick found in: http://hilbert-space.de/?p=22 (comment 16-17) 2) Extract the two words from the doubleword Neon register and do the work in ARM assembly. It looks like the latter version is performing better.
* | | | | | Make this compile on Atom/Core2 (no SSE4) and on ARM (no SSE)Thiago Macieira2011-03-221-1/+18
| | | | | |
* | | | | | Add baselines and zeros to the benchmarks.Thiago Macieira2011-03-221-6/+13
| | | | | |
* | | | | | Add an UTF-8 conversion on trusted data and no BOM.Thiago Macieira2011-03-221-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This assumes that there are no overlong sequences, no continuation characters without the leading, no missing continuations and no BOM.
* | | | | | Make it easier to write a UTF-8 conversion on trusted dataThiago Macieira2011-03-221-38/+58
| | | | | |
* | | | | | Add the missing tests and 4-byte UTF-8 sequencesThiago Macieira2011-03-221-1/+23
| | | | | |
* | | | | | Improve the code and avoid unnecessary storesThiago Macieira2011-03-221-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If there's an UTF-8 high byte in the first 8 bytes, don't try to save the latter 8 characters
* | | | | | Add an UTF-8 conversion optimised for ASCII using SSE2Thiago Macieira2011-03-221-1/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This code is 2x faster than the original UTF-8 code and within 35% of the pure Latin1 code
* | | | | | Add an UTF-8 conversion code that is optimised for ASCIIThiago Macieira2011-03-221-2/+94
| | | | | | | | | | | | | | | | | | | | | | | | This code is ~1.5x faster than the original UTF-8 code
* | | | | | Add a stateless copy of the Qt 4.7 UTF-8 codec.Thiago Macieira2011-03-221-0/+99
| | | | | | | | | | | | | | | | | | | | | | | | For whatever reason, this code is worse than the stateful code...
* | | | | | Add UTF-8 code benchmarksThiago Macieira2011-03-221-0/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also compare to the Latin1 functions. The UTF-8 algorithm in Qt 4.7 right now is 109% slower than the unoptimised Latin-1 algo, 120% than the Qt 4.7 SSE2 code
* | | | | | Improve a little more the core loop and propagate to the other codeThiago Macieira2011-03-221-18/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently are that the "improved SSE2" version and the SSE4.1 version are yielding the best results, within 1% of each other. These results are around 20% better than the Qt 4.7 code.
* | | | | | Reduce the number of operations in the main loopThiago Macieira2011-03-221-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The more operations there are, the more time it takes. More importantly, the more variables we touch, the more the compiler may want to use the stack instead of registers.