summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into ↵Qt Continuous Integration System2010-02-09235-2835/+115
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Fixed some global QIcon/QPixmap instances that leaked handles on X11. Speed up QListView test QListView: fix crash when hiding many of the lasts item in a QListView Fixed warnings and crash when painting graphics effects outside scene. Stabilize QLineEdit test on X11 (sqlite) Allow shared cache mode Make generate uid3 (symbian) work on 64 bit host platform. Updated the docs for QPainter::begin/endNativePainting() Compile fix for network benchmarks. Add a pixmap modification hook to blur pixmap filter cache Delete benchmark examples (qtestlib-simple and qtwidgets). Restructure tests/benchmarks directory. Fixed QImagReader::setAutoDetectImageFormat() to work with plugins. QLineEdit: regression: read-only line edits would eat shortcuts. QGraphicsItem: Do not crash at exit if there is static QGraphicsItem. Make QTextCodec reentrant. Fixed bug where GL widget was not fully updated on Vista.
| * Compile fix for network benchmarks.Bjørn Erik Nilsen2010-02-083-3/+3
| |
| * Delete benchmark examples (qtestlib-simple and qtwidgets).Bjørn Erik Nilsen2010-02-0814-2786/+0
| | | | | | | | | | These have no real value anymore now that we have plenty of other benchmarks. They served as examples on how to use the QBENCHMARK macro.
| * Restructure tests/benchmarks directory.Bjørn Erik Nilsen2010-02-08221-46/+112
| | | | | | | | | | | | We follow the same structure as used in the src directory. This makes it easier to navigate through the jungel, especially now that we are going to add functional tests etc.
* | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Qt Continuous Integration System2010-02-091-0/+28
|\ \ | | | | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/qt-s60-public: Setting some parameters to reliably run on Tb9.2, Streamlined smart installer package creation in Symbian
| * | Setting some parameters to reliably run on Tb9.2,Aleksandar Sasha Babic2010-02-091-0/+28
| |/ | | | | | | | | | | Tb 9.2 ATM is more memory sensitive. Reviewed-by: TrustMe
* | Improve the benchmark of QScriptClassBenjamin Poulain2010-02-091-381/+155
|/ | | | | | | | | The benchmarks has been stabilised and modified so the number are more representative of QSCriptClass and not other part of Qt: -the "iteration numbmer" has been introduced to ensure a minimal number of call, indpendant of QTestLib. -the subclasses of QScriptClass have been rewritten to have less impact on the results
* Fixing a test case to be runnable on Symbian device.Aleksandar Sasha Babic2010-02-081-1/+1
| | | | | | Number of stacked items had to be lowered due to memory constrains. Reviewed-by: TrustMe
* Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-s60-public into ↵Qt Continuous Integration System2010-02-016-2/+39
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/qt-s60-public: Documented limitations of add/setLibraryPath(s) on Symbian OS Deployed QtMultimedia.dll on Symbian Fixed the URL of known issues wiki page in docs Fixing benchmark to be runnable on Symbian device Fixing test to be runnable on Symbian devices. Fixed no-timeout case for QProcess::waitForFinished in Symbian Add visibility-inlines-hidden for GCCE on Symbian OS Catch by reference rather than by value Fixing benchmark for Symbian Remove warning about Symbian DEF files when running configure for Windows List item margins are too small due to invalid pixel metric value Remove left over forward declarations Avoided the loss of preedit text when losing focus on Symbian. Added support for ifdeffing for manufacturer in generated pkg files Shortening and fixing previous fix for QTBUG-6371 Update default FPU flags on Symbian to be softvfp+vfpv2 Using RunFast mode for RVCT
| * Fixing benchmark to be runnable on Symbian deviceAleksandar Sasha Babic2010-02-012-1/+11
| | | | | | | | | | | | Deployment had to be done in proper way. Reviewed-by: TrustMe
| * Fixing test to be runnable on Symbian devices.Aleksandar Sasha Babic2010-02-012-0/+10
| | | | | | | | | | | | One of the cases is using too much memory so it had to be trimmed down. Reviewed-by: TrustMe
| * Fixing benchmark for SymbianAleksandar Sasha Babic2010-01-292-1/+18
| | | | | | | | | | | | The bidi.txt has to be deployed in proper way. Reviewed-by: TrustMe
* | Add QFontMetrics benchmark.Michael Brasser2010-01-293-0/+118
|/
* Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-multimedia-team into ↵Qt Continuous Integration System2010-01-282-0/+708
|\ | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/qt-multimedia-team: Add additional text and painting benchmarks.
| * Add additional text and painting benchmarks.Michael Brasser2010-01-282-0/+708
| | | | | | | | | | These benchmarks have been moved in from the kinetic-declarativeui branch as they are not QML specific.
* | Extend qfile_vs_qnetworkaccessmanager benchmarkMarkus Goetz2010-01-181-0/+35
|/ | | | | | | We need a third one to benchmark the without-event-loop use case that we now provide. Reviewed-by: TrustMe
* tst_qnetworkreply benchmark: Read HTTP headers when emulating HTTPMarkus Goetz2010-01-141-1/+15
| | | | Reviewed-by: Peter Hartmann
* Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6Simon Hausmann2010-01-131-2/+77
|\ | | | | | | | | Conflicts: dist/changes-4.6.1
| * Merge remote branch 'qt/4.6' into oslo-staging-2/4.6Paul Olav Tvete2010-01-1274-74/+74
| |\ | | | | | | | | | | | | Conflicts: dist/changes-4.6.1
| * | Add odf-writer benchmark.Thomas Zander2010-01-111-2/+77
| | |
* | | tst_qnetworkreply benchmark: Properly finish the threadMarkus Goetz2010-01-131-4/+4
| |/ |/| | | | | | | | | | | End the thread at the proper point, before possibly failing one of the test conditions. Reviewed-by: TrustMe
* | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into ↵Qt Continuous Integration System2010-01-0974-74/+74
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4.6-integration * '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1: (49 commits) Reverted two commits that were pushed to the wrong branch. Use the new QTextCodec api in the QXmlStreamWriter. Added new functions to QTextCodec that accept ConversionFlags. Fix passing of arguments to syncqt doc: Fixed typos. Fixes: Fix spinbox with NoButton style in QGtkStyle doc: Explained parameter value defaults where appropriate. Cocoa: Fix painting errors on QGLWidget resizing. Fix broken QGLWidget::renderPixmap on Mac/Carbon Fixes: Setting any style sheet breaks checkbox positioning Fixes: MenuItem size fixes and missing separator with Gtk+ Autotest: add a test for QNAM's HTTP cache handling code QNAM HTTP: just use the expirationDate in the code that validates the cache QNAM HTTP: change the caching semantics to match documentation QNAM HTTP: fix the caching algorithm from RFC 2616 Avoid repeatedly calling LookupAccountSid in QFSFileEngine::owner improve readability a bit more fix styling; improve readability make it possible to retrieve name of the user who owns the file Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ( 99ccc1c3e4db5354246720f9b9aa3d282e64497d ) ...
| * Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6Simon Hausmann2010-01-081-0/+17
| |\ | | | | | | | | | | | | Conflicts: src/multimedia/audio/qaudioformat.cpp
| * | Update copyright year to 2010Jason McDonald2010-01-0674-74/+74
| | | | | | | | | | | | Reviewed-by: Trust Me
* | | Add new benchmark for some qtext features.Thomas Zander2010-01-084-0/+137
| |/ |/| | | | | | | I test loading some html into a qtextdocument and doing of shaping on an unformatted text of different scripts and bidiness.
* | Fix performance regression in _q_polishItems.Alexis Menard2010-01-071-0/+17
|/ | | | | | | | | | | | | | QSet is a hash internally, using Iterator::begin while erasing elements inside the set might create holes and then the complexity increase. We now use the return value of erase (the next element) so the complexity is linear. For those who create/delete item in the polish event (BAD), _q_polishItem might be slower than the normal call. Task-number:QTBUG-6958 Reviewed-by:olivier
* Merge branch '4.5' into 4.6-stagingThiago Macieira2010-01-051-13/+15
|\
| * tst_qhostinfo benchmark: Fix license headerMarkus Goetz2010-01-041-13/+15
| | | | | | | | | | | | For some reason, I got it wrong. Reviewed-by: TrustMe
* | tst_qtcpserver: Move benchmarksMarkus Goetz2010-01-043-0/+291
| | | | | | | | | | | | Move benchmarks into tests/benchmarks directory. Reviewed-by: Thiago
* | Merge branch '4.5' into 4.6-stagingThiago Macieira2009-12-263-0/+108
|\ \ | |/ | | | | | | Conflicts: tests/benchmarks/benchmarks.pro
| * Add QHostInfo benchmarkMarkus Goetz2009-12-183-0/+108
| | | | | | | | Reviewed-by: Peter Hartmann
* | Optimize QThreadStorage with QVectorOlivier Goffart2009-12-183-1/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QThreadStorageData::get might be accessed very often. QMap lookup has proven to be too slow. We can expect about 20 instances of QThreadStorage in a typical applications (tested with some KDE applications) So a QVector is more suited Note: we now re-use the ids. Which means that if the QThreadStorage is destroyed before the QThread, and another one is created, we might get crashes (instead of a warning printed to the console) Reviewed-by: brad
* | Fixed qstylesheetstyle benchmark for SymbianMiikka Heikkinen2009-12-161-6/+13
| | | | | | | | | | | | | | | | | | | | | | The benchmark ran out of stack for large grids somewhere inside QWidget::show(). Skipped show cases for large grids in Symbian, since we cannot increase application stack any further. Also removed some unnecessary whitespace. Task-number: QTBUG-6693 Reviewed-by: Janne Anttila
* | Fixed qdiriterator benchmark for SymbianMiikka Heikkinen2009-12-162-6/+6
| | | | | | | | | | | | | | | | | | Deployment was handled similarly to WinCE. Some whitespace was also removed. Task-number: QTBUG-6690 Reviewed-by: Janne Anttila
* | Fixed events benchmark postEvent functionMiikka Heikkinen2009-12-161-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The postEvent function was causing problems in Symbian because it couldn't handle multiple iterations of the benchmark. - Moved event allocation inside QBENCHMARK so that each iteration will have a fresh event object. - Added resetting of the PingPong counters inside QBENCHMARK. - Used QTestEventLoop::instance().exitLoop() instead of QCoreApplication::quit() to make the cases beyond first to actually test something meaningful. - Added a "first time" case to postEvent_data, as the first time the event loop is used it takes much longer that the subsequent times, at least in Symbian, so that skewed the results. Task-number: QTBUG-6688 Reviewed-by: axis
* | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6-s60axis2009-12-161-1/+19
|\ \ | | | | | | | | | | | | Conflicts: src/s60installs/bwins/QtGuiu.def
| * \ Merge commit oslo-staging-2/4.6 into upstream/4.6Olivier Goffart2009-12-141-1/+19
| |\ \
| | * | Add missing benchmark to the benchmarks.proOlivier Goffart2009-12-111-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | This does not add the benchmark that runs too slowly. Reviewed-by: jasplin
* | | | Fixed QGraphicsView benchmark for Symbian.Miikka Heikkinen2009-12-142-116/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added deployment of jpeg plugin - Reduced deep stacking recursion from 1000 -> 200 in order to not run out of stack. - Bunch of whitespace fixes. Task-number: QTBUG-6779 Reviewed-by: Janne Anttila
* | | | Skipped the most memory intensive tests in QByteArray benchmark.Miikka Heikkinen2009-12-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Symbian devices typically have limited memory, so skipping the cases that require tens of megabytes or more of memory. Task-number: QTBUG-6780 Reviewed-by: Janne Anttila
* | | | Made QFile benchmark compile and run for SymbianMiikka Heikkinen2009-12-111-17/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Temporary files need to be deleted after each test, as there is no space to have several 40MB files on typical device. - Read buffer must be allocated dynamically, as Symbian devices have limited stack. - Moved metatype declarations to proper place - Changed _exit() -> exit() - Removed assert from around mkdir - dir creation fails if dir exists, and dir was not created in release builds. - Added QDir::Files to readSmallFiles test directory filter to actually find the files to read. - Fixed filenames to absolute in readSmallFiles test so that it'll find the files even if they are not in current dir. - Write a linefeed to the end of each created file in createSmallFiles, so that the files created have proper size - Only create 1/10th of files in createSmallFiles for Symbian to speed up the test to bearable level. - Added missing ::flose() call to QFileFromPosixBenchmark of open(). - Skipped Windows specific tests on non-Windows platform as just failing them left temporary files to disk Task-number: QTBUG-6593 Reviewed-by: MariusSO
* | | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6-s60axis2009-12-112-1/+57
|\ \ \ \ | |/ / / | | | | | | | | | | | | Conflicts: src/s60installs/bwins/QtGuiu.def
| * | | Add benchmark for QtScript translation functions.Michael Brasser2009-12-111-0/+21
| |/ /
| * | Benchmark: Duplicate the tests on QDirIterator as well.Thiago Macieira2009-12-021-1/+36
| | | | | | | | | | | | Reviewed-by: Trust Me
* | | Fixed containers-sequential benchmark for SymbianMiikka Heikkinen2009-12-101-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - RVCT 2.2. couldn't compile static templated function f(), so changed it to non-static, as it should make no difference for this test. - Limited insert_Large tests to fit to typical Symbian device memory. - Some whitespace fixed, too. Task-number: QTBUG-6592 Reviewed-by: Janne Anttila
* | | Missing library added to QStringList benchmark for Symbian buildsMiikka Heikkinen2009-12-091-0/+2
|/ / | | | | | | | | | | | | | | QStringList benchmark uses some std classes which indirectly need pthread library. Task-number: QTBUG-6594 Reviewed-by: Janne Anttila
* | Make sure that cleanupTestCase() do not statBenjamin Poulain2009-11-301-1/+2
| | | | | | | | | | | | | | The benchmark of QDir is also used to minimize the number of stats(). The test initialization and cleanup should avoid stats(). Reviewed-by: Markus Goetz
* | Improve QFileInfo benchmarkMarkus Goetz2009-11-271-3/+5
| | | | | | | | Reviewed-by: TrustMe
* | Introduce QFileInfo benchmarkMarkus Goetz2009-11-253-0/+94
| | | | | | | | | | | | Right now only a benchmark for the canonicalized path. Reviewed-by: TrustMe
* | Merge commit 'b65fd82299' from qt-core-team 4.6 into 4.6Marius Storm-Olsen2009-11-091-0/+530
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: configure.exe src/corelib/io/qfsfileengine.cpp tests/auto/qfile/tst_qfile.cpp