Skip to content

Commit

Permalink
make it easier to parse the results
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@14321 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Oct 28, 2016
1 parent 0c074ec commit 91bb1f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tests/xpra/codecs/test_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from xpra.log import Logger
log = Logger("encoder", "test")

DEFAULT_TEST_DIMENSIONS = [(512, 512)]
DEFAULT_TEST_DIMENSIONS = [(32, 32), (72, 72), (256, 256), (1920, 1080), (512, 512)]


Expand Down Expand Up @@ -137,6 +138,6 @@ def do_test_encoder(encoder, src_format, w, h, images, name="encoder", log=None,
tpf = int(1000*(end-start)/len(images))
sized = "%sx%s" % (w, h)
fsize = tsize/len(images)
log.info("%s finished encoding %3s %7s frames at %10s: %4s MPixels/s, %4sms/frame, %8sKB/frame (%s)",
log.info("%60s finished encoding %3s %7s frames at %10s: %4s MPixels/s, %4sms/frame, %8sKB/frame (%s)",
encoder, len(images), src_format, sized, perf, tpf, fsize/1024, encoder.get_info().get("pixel_format"))
#log.info("info=%s", encoder.get_info())

0 comments on commit 91bb1f6

Please sign in to comment.