Coro benchmarks ?

Przemyslaw Iskra sparky at pld-linux.org
Fri Apr 29 21:53:42 CEST 2011


Hi.


Are there some good benchmarks for coro to test how blocking is some
thread / module / whatever ?


I am developing a libcurl wrapper (which is designed to be non-blocking)
and I want the best integration with Coro I could achieve.

http://search.cpan.org/~sparky/Net-Curl-Simple/

Right now Coro support is very lousy - it uses Coro's select and one
multi object for each request. The proper solution will use one multi
object for all requests, running under EV or AnyEvent, and it will use
Coro::Semaphore or AE::cv to simulate blocking requests.

Afterwards, I would like to prepare some fair benchmarks comparing
Net::Curl::Simple with Coro::LWP.



Best regards,
	Przemysław Iskra.

-- 
 ____    sparky  --  Przemyslaw  ................ LANG...Pl,Ca,Es,En
/____) ___  ___  _ _ || Iskra   : WWW . http://ppcrcd.pld-linux.org/
\____\| -_)'___| ||^'||//\\//   : WWW2 ............ http://rsget.pl/
(____/||   (_-_|_||  ||\\ ||    : eMail ..... <sparky at pld-linux.org>



More information about the anyevent mailing list