-
Notifications
You must be signed in to change notification settings - Fork 33
Performance compare to Lua? #19
Comments
I know one critical area it is faster at, its way faster to develop in. On Mon, Oct 19, 2015 at 10:11 AM, Drew Peterson [email protected]
|
That definitely appears to be the case, especially if you're trying to migrate away from a dissector written in C as we are. Our main goal here is to find an alternative to writing our dissectors in C, to avoid the headaches of building Wireshark plugins on Windows, that still provides acceptable performance. |
I've used pyreshark and c to make a few different dissectors and I was able On Mon, Oct 19, 2015 at 10:30 AM, Drew Peterson [email protected]
|
I don't have any empiric data but lua should be faster than PyFunctionItem and slower than regular items. if you reach any interesting conclusions, I'll be happy to hear :) |
Thanks for the input everyone, I'm pressing forward porting to pyreshark as much as I can. If the performance is not acceptable I'll give Lua a shot and return with findings :-) |
Has anyone compared the performance of pyreshark to Lua when doing something more complicated than just field items?
I know the PyFunctionItem callbacks will be slower, particularly when unpacking packets, but does anyone know if they're faster/slower than doing something similar in Lua? I'm aware that performance can vary, but I'm particularly curious if packet.unpack is going to be a performance bottleneck compared to a similar implementation in Lua.
The text was updated successfully, but these errors were encountered: