Skip to content

Commit

Permalink
#2381 add the new frame latency attributes to the test data
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@23541 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Aug 20, 2019
1 parent 63a7d86 commit 0cd78e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tests/xpra/test_measure_perf.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ def get_config(config_name):
"Regions/s", "Pixels/s Sent", "Encoding Pixels/s", "Decoding Pixels/s",
"Application packets in/s", "Application bytes in/s",
"Application packets out/s", "Application bytes out/s", "mmap bytes/s",
"Frame Total Latency", "Client Frame Latency",
"Video Encoder", "CSC", "CSC Mode", "Scaling",
]
for x in ("client", "server"):
Expand Down Expand Up @@ -685,6 +686,9 @@ def avg(l):
add("", avg, "Encoding Pixels/s", ["client.encoding.pixels_encoded_per_second", "encoding.pixels_encoded_per_second", "pixels_encoded_per_second"])
add("", avg, "Decoding Pixels/s", ["client.encoding.pixels_decoded_per_second", "encoding.pixels_decoded_per_second", "pixels_decoded_per_second"])

add("", avg, "Frame Total Latency", ["client.damage.frame-total-latency"])
add("", avg, "Client Frame Latency", ["client.damage.client-latency"])

for prefix, op in (("Min", min), ("Max", max), ("Avg", avg)):
add(prefix, op, "Batch Delay (ms)", ["client.batch.delay.%s", "batch.delay.%s", "batch_delay.%s", "%s_batch_delay"])
add(prefix, op, "Actual Batch Delay (ms)", ["client.window.?[\\d+].batch.actual_delays.%s", "client.batch.actual_delay.%s", "batch.actual_delay.%s"])
Expand Down

0 comments on commit 0cd78e9

Please sign in to comment.