Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use QVERIFY in benchmarks, insteads of returning silently in case of error | Olivier Goffart | 2009-07-20 | 1 | -4/+2 |
| | |||||
* | Add low level POSIX bench on Windows | Ritt Konstantin | 2009-07-20 | 1 | -6/+31 |
| | | | | | Merge-request: 702 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com> | ||||
* | Deactivate the low level POSIX bench on Windows | Alexis Menard | 2009-06-15 | 1 | -0/+2 |
| | |||||
* | Improve the speed of QDir, QFileInfo and QDirIterator. | Alexis Menard | 2009-06-15 | 2 | -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 |