Pierre Ossman
f10d2a7cb0
Wrong array index in CPU usage calculation on Windows
9 years ago
Pierre Ossman
7d218b08a3
Windows doesn't have %lld
9 years ago
Pierre Ossman
fc331e62a8
overrun() needs to return the available space
9 years ago
Pierre Ossman
86475a684d
Move things around slightly so the compiler can track cc
9 years ago
Pierre Ossman
fb450fba5d
Fix mismatches between format string and arguments
9 years ago
Pierre Ossman
5c23b9ed7d
Fix bad signed/unsigned comparisons
Either by casting, or switching to a more appropriate type
for the variable.
9 years ago
DRC
13cfb51071
encperf, decperf: catch fopen() errors
This prevents unhandled exceptions if the file isn't found.
9 years ago
DRC
2a172c9cf1
encperf: Optionally disable pixel translation
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.
9 years ago
DRC
e46dda6992
encperf: change % to %% in printf format
GCC lets this slide, but other compilers (clang) complain about using % rather
than %% to print a literal % character.
9 years ago
DRC
562eb71741
encperf: add compression level to encoding list
Explicitly add the compression level to the list of encodings so it's obvious
how to override it.
9 years ago
DRC
4631a76c1b
encperf: allow # of iterations to be specified
9 years ago
DRC
77be929e03
encperf: report encoded & raw-equivalent bytes
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.)
9 years ago
DRC
b4c4a387e5
encperf: Code formatting tweaks
Code formatting tweaks to improve readability & make the code consistent with
the rest of TigerVNC
9 years ago
Pierre Ossman
8738e8a627
Add test to measure high level encoding performance
9 years ago
Pierre Ossman
8ac31113cc
Make it possible to measure CPU usage in parellel
9 years ago
Pierre Ossman
e1f2545fa1
Add test to measure decoding performance
9 years ago
Pierre Ossman
86a01b0052
Make sure stride handling is also tested
9 years ago
Pierre Ossman
387bf9b386
Use constants for the test buffer dimensions
9 years ago
Pierre Ossman
41deb88359
Add pixel conversion correctness test
9 years ago
Pierre Ossman
ab9b95f9c7
Add missing copyright header.
9 years ago
Pierre Ossman
8c7962bee8
Rename the pixel conversion performance test
We want to have other tests related to pixel conversion, so avoid
possible naming conflicts.
9 years ago
Pierre Ossman
a088f1ab39
Remove PixelTransformer and TransImageGetter
There is nothing using these classes anymore, so remove the clutter.
10 years ago
Pierre Ossman
acc387c1eb
Test results comparing PixelTransformer and bufferFromBuffer()
10 years ago
Pierre Ossman
761fe24089
Add ability to directly convert between two pixel formats
This is a lot easier and cheaper than having to set up a complete
PixelTransformer object.
10 years ago
Pierre Ossman
00bed5c595
Put some space between the groups of tests
10 years ago
Pierre Ossman
e18132cec2
Add more 8 bpp conversion tests
10 years ago
Pierre Ossman
b6b4dc6487
Remove full support for colour maps
Gets rid of a loooot of code and complexity.
Colour map clients are still supported through an
automatically generated map, but we lose the ability to
develop a client or server that uses colour maps
internally.
10 years ago
Pierre Ossman
236c03cc33
Add pixel conversion speed test
Add a tests directory where we can put tests programs that can
be useful during testing. Start with a speed test for the pixel
conversion routines.
10 years ago