Exemplo n.º 1
0
def test_large_frame_msgpack(large_frame):
    # NOTE: This implementation does not exist but once did as an experiment
    #       This test is left as reference and reminder
    with timeit('to_msgpack'):
        msgpack_string = large_frame.to_msgpack()

    with timeit('from_msgpack'):
        QFrame.from_msgpack(msgpack_string)