summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qdir
Commit message (Collapse)AuthorAgeFilesLines
* Benchmark: Duplicate the tests on QDirIterator as well.Thiago Macieira2009-12-021-1/+36
| | | | Reviewed-by: Trust Me
* 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
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* Make the license test pass.Frans Englich2009-08-191-0/+41
| | | | | | | This is partly done to address a review comment for S60. Reviewed-by: Marius SO Reviewed-by: Paul
* Use QVERIFY in benchmarks, insteads of returning silently in case of errorOlivier Goffart2009-07-201-4/+2
|
* Add low level POSIX bench on WindowsRitt Konstantin2009-07-201-6/+31
| | | | | Merge-request: 702 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
* Deactivate the low level POSIX bench on WindowsAlexis Menard2009-06-151-0/+2
|
* Improve the speed of QDir, QFileInfo and QDirIterator.Alexis Menard2009-06-152-0/+104
This patch basically avoid to call too often currentFileInfo in QDirIterator. It replaces the QHash that was overkill in QFileInfo for caching filenames. The last part is reordering the matchesFilter to avoid stat as much as possible by using the power of && and filters that are set on QDirIterator. And it fixes some random "mistake". I have added a benchmark in QDir which test some use case with 10000 files in a dir. Written-with: Benjamin Reviewed-by: phartman