ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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

From: "Anders Broman" <a.broman@xxxxxxxxx>
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.

Hi,
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.
Regards
Anders
 
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev