I'm developing a .NET wrapper for WinPcap called Pcap.Net.
I'm trying to make sure this wrapper has high performance and I want to compare it to WinPcap and to other .net wrappers for WinPcap.
The features I want to profile are:
- WinPcap native features (sending packets in different ways, receiving packets in different ways...)
- Interpreting packets that Pcap.Net knows how to interpret (like Etherent, IPv4, UDP, TCP, ICMP, ...)
- Building packet that Pcap.Net knows how to build (the same types it knows how to interpret).
I also want to be able to profile the benchmark using Visual Studio 2010 Ultimate profiling tools.
My question is: What should my benchmark exactly do to cover these issues and how would you suggest to build it?