On Mon, Jul 11, 2011 at 02:17:42PM -0700, Steve Edwards wrote:
>> El 08/07/11 12:50, Steve Edwards escribió:
>
>>> *) You can execute hundreds of AGIs written in C in the time it takes
>>> to load the Perl interpreter and parse your script.
>
> On Fri, 8 Jul 2011, Miguel Molina wrote:
>
>> Just curious... have you timed this to demonstrate?
>
> What? You want to confuse the issue with facts?!?
>
> I did the comparison a really long, long time ago so I thought I should
> do it again. I'll post the results as a new, more relevant thread.
>
> The 'quick take away' is that C is probably a couple of hundred times
> faster than Perl in a really slow environment like a Soekris net4801.
>
> On more modern gear, the ratio falls to 30 to 100 times faster.
But that really depends on the task in hand. If the script is IO bound
anyway, a bit of extra CPU wouldn't matter that much.
--
Tzafrir Cohen
icq#16849755 jabber:[email protected]
+972-50-7952406 mailto:[email protected]
http://www.xorcom.com iax:[email protected]/tzafrir
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users