in reply to Re: IO::Lambda - suggestions wanted
in thread IO::Lambda - suggestions wanted
update: here's some premature benchmarks. the source code will be added to the next release, for now it's here
Single-process tcp client and server; server echoes back everything is sent by the client. 500 connections sequentially created, instructed to send a single line to the server, and destroyed.
2.4GHz x86-64 linux
Lambda using select 0.694 sec
Lambda using AnyEvent 0.684 sec
Raw sockets using select 0.145 sec
POE using select 5.349 sec
the POE numbers are somewhat strange. I might've done something wrong there, anyone interested is welcome to check tcp-poe.pl from the link above.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: IO::Lambda - suggestions wanted
by vrk (Chaplain) on Jul 09, 2008 at 09:30 UTC | |
by dk (Chaplain) on Jul 09, 2008 at 09:46 UTC |