Hi, I wrote a stack of decoders for a rather complex protocol. It consists of two layers. It decodes a network traffic. It takes about 15 seconds to decode a trace 60 seconds. It might be annoying when I want to decode a longertrace. I would like to know if there is a concept to do some kind of profiling or somehow identifying the time consuming lines of code..
I took a look at Python timeit, but this looks like it will be used at the Python prompt. Are there other libs? Do you know best practices on how to find the time consuming parts of a PD? Regards, Helge _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel