… | |
… | |
1210 | speed most when you have lots of watchers, not when you only have a few of |
1210 | speed most when you have lots of watchers, not when you only have a few of |
1211 | them). |
1211 | them). |
1212 | |
1212 | |
1213 | EV is again fastest. |
1213 | EV is again fastest. |
1214 | |
1214 | |
1215 | The C-based event loops Event and Glib come in second this time, as the |
1215 | Perl again comes second. It is noticably faster than the C-based event |
1216 | overhead of running an iteration is much smaller in C than in Perl (little |
1216 | loops Event and Glib, although the difference is too small to really |
1217 | code to execute in the inner loop, and perl's function calling overhead is |
1217 | matter. |
1218 | high, and updating all the data structures is costly). |
|
|
1219 | |
|
|
1220 | The pure perl event loop is much slower, but still competitive. |
|
|
1221 | |
1218 | |
1222 | POE also performs much better in this case, but is is still far behind the |
1219 | POE also performs much better in this case, but is is still far behind the |
1223 | others. |
1220 | others. |
1224 | |
1221 | |
1225 | =head3 Summary |
1222 | =head3 Summary |