Wireshark-dev: Re: [Wireshark-dev] Startup speed up - assembler usage
From: "Anders Broman" <[email protected]>
Date: Wed, 7 Nov 2007 18:45:38 +0100
>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 sense.
>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.

Can you give some more details then it might be easier to understand the
implications when it comes to maintaining the code. Does it involve C
improvements as well as assembler? If so at least the C stuff should be
done/could be done first.
Wireshark-dev mailing list
[email protected]