Tag Archive: pickle

Jul 25

Python 2.7.2 serializer speed comparisons

In a recent python project where I was sending multiple messages per second of data over a basic socket, I had initially just grabbed the cPickle module to get the prototype proof-of-concept functioning properly. cPickle is awesome for easily serializing more complex python objects like custom classes, even though in my case I am only sending basic types. But I wanted to investigate the speed differences of different serializer modules.