qt5base-lts/tests/benchmarks/corelib/io
David Faure 31c6d9f04b QTextStream: add fast path for writing char and QChar.
Avoids allocating a QString for every char being written out.
The benchmark went from 5.5 ms per iteration to 0.8 ms,
and from 40 million instructions to 6 million.

Found using Milian Wolff's heaptrack tool.

Change-Id: I1784c47b944454bc947a607a22c39d249372ed55
Reviewed-by: Adam Majer <adamm@zombino.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2014-09-12 02:07:36 +02:00
..
qdir WinRT: Fix various test compilations 2013-10-02 12:36:05 +02:00
qdiriterator WinRT: Fix various test compilations 2013-10-02 12:36:05 +02:00
qfile WinRT: Fix various test compilations 2013-10-02 12:36:05 +02:00
qfileinfo WinRT: Fix various test compilations 2013-10-02 12:36:05 +02:00
qiodevice Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qprocess Fix test compilation on WinRT 2013-11-26 20:29:09 +01:00
qtemporaryfile Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtextstream QTextStream: add fast path for writing char and QChar. 2014-09-12 02:07:36 +02:00
qurl Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
io.pro QTextStream: add fast path for writing char and QChar. 2014-09-12 02:07:36 +02:00