Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Startup speed up - assembler usage

From: "Kukosa, Tomas" <tomas.kukosa@xxxxxxxxxxx>
Date: Wed, 7 Nov 2007 14:20:36 +0100
Hi
 
profiling startup sequence (in Windows environment) the result is that writing few small functions in assembler could speeded it up visibly.
My idea is to have some code pieces written in C but optionally written in assembler for some OSs a CPU/platforms where it make sence.
 
E.g. I was able (with about 80 lines in assembler) to reduce time spent in libwireshark.dll during startup from cca 2600ms to 1300ms on my PC.


What dou you think about this way? I have good experince with it from some past projects.

Regards,
  Tomas