ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/Coro/eg/bench
(Generate patch)

Comparing cvsroot/Coro/eg/bench (file contents):
Revision 1.17 by root, Wed Oct 3 16:03:17 2007 UTC vs.
Revision 1.21 by root, Mon May 30 02:21:54 2011 UTC

64#$c1->save (-1); 64#$c1->save (-1);
65 65
66transfer($main, $c0); 66transfer($main, $c0);
67transfer($main, $c1); 67transfer($main, $c1);
68 68
69#Coro::State::enable_times 1;
70#use Coro::Debug; Coro::Debug::command "ps";#d#
71#(async {
69timethese 1000000, { 72timethese 5000000, {
70 function => 'a(5); a(6)', 73 function => 'a(5); a(6)',
71 method => '$a->b(5); $a->b(6)', 74 method => '$a->b(5); $a->b(6)',
72 cede => 'cede', 75 cede => 'cede',
73 transfer0 => 'transfer($main, $c0)', 76 transfer0 => 'transfer($main, $c0)',
74 transfer1 => 'transfer($main, $c1)', 77 transfer1 => 'transfer($main, $c1)',
75}; 78};
79#})->join;
80#use Coro::Debug; Coro::Debug::command "ps";#d#
76 81
77 82
78

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines