4 | | * [http://docs.cython.org/src/userguide/external_C_code.html#acquiring-and-releasing-the-gil releasing the gil]: automated testing revealed that x264 and vpx cause a jump in client and server latency. Unfortunately, because we use {{{PyObject_AsReadBuffer}}} to access the python data to encode/decode, we cannot simply add {{{with nogil:}}} |
5 | | * measure decompression latency - can be done with the {{{damage-sequence}}} packet if needed |
| 4 | * [http://docs.cython.org/src/userguide/external_C_code.html#acquiring-and-releasing-the-gil releasing the gil]: automated testing revealed that x264 and vpx cause a jump in client and server latency. Unfortunately, because we use {{{PyObject_AsReadBuffer}}} to access the python data to encode/decode, we cannot simply add {{{with nogil:}}}. It may be worth trying out multiprocessing, so the encoder/decoder can take advantage of multicore cpus (at the cost of copying the data before processing it..) |