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

Comparing Coro/eg/bench (file contents):
Revision 1.19 by root, Sat Nov 8 04:31:28 2008 UTC vs.
Revision 1.20 by root, Mon Jun 29 06:14:23 2009 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#
69#(async { 71#(async {
70timethese 5000000, { 72timethese 5000000, {
71 function => 'a(5); a(6)', 73 function => 'a(5); a(6)',
72 method => '$a->b(5); $a->b(6)', 74 method => '$a->b(5); $a->b(6)',
73 cede => 'cede', 75 cede => 'cede',
74 transfer0 => 'transfer($main, $c0)', 76 transfer0 => 'transfer($main, $c0)',
75 transfer1 => 'transfer($main, $c1)', 77 transfer1 => 'transfer($main, $c1)',
76}; 78};
77#})->join; 79#})->join;
80#use Coro::Debug; Coro::Debug::command "ps";#d#
78 81
79 82
80 83

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines