summaryrefslogtreecommitdiffstats
path: root/tests/encperf.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Change cursor API to use RGBA dataPierre Ossman2017-02-221-2/+2
| | | | | This will allow us to use better formats that preserve the entire alpha channel.
* Estimate CPU core usage in performance testsPierre Ossman2015-11-271-25/+82
| | | | | | 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-33/+11
| | | | | | | | | 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.
* Remove parameter "hasBeenSet" logicPierre Ossman2015-04-271-2/+2
| | | | | It doesn't really make sense anymore given that settings might come from the GUI or configuration and not only the command line.
* Windows doesn't have %lldPierre Ossman2015-03-031-0/+5
|
* overrun() needs to return the available spacePierre Ossman2015-03-031-0/+3
|
* Move things around slightly so the compiler can track ccPierre Ossman2015-03-031-0/+5
|
* encperf, decperf: catch fopen() errorsDRC2015-02-261-2/+2
| | | | This prevents unhandled exceptions if the file isn't found.
* encperf: Optionally disable pixel translationDRC2015-02-251-2/+6
| | | | | | | For 16-bit and 8-bit datasets, you can now run encperf with an argument of -translate=0 to benchmark just the encoder without converting the datasets to 24-bit. This allows the output of encperf to be directly compared with that of the TurboVNC Benchmark Tools.
* encperf: change % to %% in printf formatDRC2015-02-251-1/+1
| | | | | GCC lets this slide, but other compilers (clang) complain about using % rather than %% to print a literal % character.
* encperf: add compression level to encoding listDRC2015-02-251-1/+2
| | | | | Explicitly add the compression level to the list of encodings so it's obvious how to override it.
* encperf: allow # of iterations to be specifiedDRC2015-02-251-6/+6
|
* encperf: report encoded & raw-equivalent bytesDRC2015-02-251-13/+24
| | | | | | Report encoded and raw-equivalent bytes as well as compression ratio (I like to have these statistics so I can compute overall compression ratios for groups of datasets in a spreadsheet.)
* encperf: Code formatting tweaksDRC2015-02-251-18/+18
| | | | | Code formatting tweaks to improve readability & make the code consistent with the rest of TigerVNC
* Add test to measure high level encoding performancePierre Ossman2015-02-131-0/+439