On Jun 23, 2009, at 10:56 AM, Bruce Simpson wrote:
<snip>

My only question (from risk management) would be: is ASIO tight?

I realize this is unrelated, but: I tried the Bopst Graph Library (BGL) and our own Spt class for Dijkstra substantially outperformed it. Then again our Spt is specialized for yielding collections of abstract route table manipulation commands. BGL is heavyweight on the theory, and very general purpose. It could be GCC to blame, I suppose, but I didn't look under the hood.


I have Asio implementations for TSocket, TServerSocvket, and TNonblockingServer running. Using the stress test, their data rates are very close to those of the native implementations on the Mac. (They're much worse on Windows, but I'm testing on a nearly 5 year old machine running XP>) This is using synchronous I/O though. If I add read or write timeouts, so that I need to use the async I/O methods, then the data rate is less. I can't say how much of the top of my head, because I haven't been doing careful benchmarks. More concerned with proper behavior.

- Rush

Reply via email to