aboutsummaryrefslogtreecommitdiffstats
path: root/tests/decperf.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Estimate CPU core usage in performance testsPierre Ossman2015-11-271-10/+43
| | | | | | This is based on comparing CPU time with elapsed time, which means that the tests can be heavily influenced by other load on the test machine.
* Let CConnection intercept more callbacksPierre Ossman2015-11-271-0/+4
| | | | | We need more callbacks for correct operation of multi-threaded rect decoding.
* Delegate decoder object management to a separate classPierre Ossman2015-11-271-27/+8
| | | | | | | | | Done in preparation for multi-core decoding. Keeps the complexity out of the other classes. This also moves ownership of the framebuffer in to CConnection. It's the CConnection object that is aware of the threads and how to synchronise with them. Therefore the ownership of the framebuffer must also be there to make sure it isn't deleted whilst threads are working.
* Move things around slightly so the compiler can track ccPierre Ossman2015-03-031-0/+5
|
* Fix mismatches between format string and argumentsPierre Ossman2015-03-031-1/+1
|
* encperf, decperf: catch fopen() errorsDRC2015-02-261-2/+2
| | | | This prevents unhandled exceptions if the file isn't found.
* Add test to measure decoding performancePierre Ossman2015-02-131-0/+217