Benchmark for a .NET WinPcap wrapper
Posted
by brickner
on Stack Overflow
See other posts from Stack Overflow
or by brickner
Published on 2010-05-12T19:47:50Z
Indexed on
2010/05/15
15:34 UTC
Read the original article
Hit count: 489
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?
© Stack Overflow or respective owner