xpra icon
Bug tracker and wiki

Ticket #2381: test-client-frame-latency-dump.patch

File test-client-frame-latency-dump.patch, 847 bytes (added by Antoine Martin, 12 months ago)

debug client frame latency

  • tests/xpra/test_measure_perf.py

     
    673673            values.append(s.get(full_name))
    674674        #strip missing values:
    675675        values = [x for x in values if x is not None and x!=""]
     676        if name=="Client Frame Latency":
     677            print("Client Frame Latency values: %s" % (values,))
    676678        if values:
    677679            v = op(values)                          #ie: avg([4,5,4]) or max([4,5,4])
    678680            #print("%s: %s(%s)=%s" % (full_name, op, values, v))
    679681            data[full_name] = v
     682            if name=="Client Frame Latency":
     683                print("Client Frame Latency data: %s" % (v,))
    680684
    681685    def avg(l):
    682686        return sum(l)/len(l)