[asterisk-dev] fast-ast2 ready to merge to trunk, is that OK?

Matthew Nicholson mnicholson at digium.com
Mon Nov 5 17:35:09 CST 2007


On Mon, 2007-11-05 at 22:15 +0200, Victor Sergeev wrote:
> Steve Murphy wrote:
> >
> > 1. Flat response times in searching for a matching context, exten, and
> > priority in the dialplan, which were previously subject to exponential
> > slowdowns due to linked list searches. I have made graphs from 1 to 1000
> > elements in each category. This means that in a dialplan with 1000
> > contexts, and the context we are executing in, has 1000 extensions, and
> > in that context, we are executing apps after the 1000th priority, we
> > will see a speedup over the old code of roughly 23x. For bigger
> > dialplans, the speedup will be greater.  For dialplans with
> > over 10,000 extensions, the speedup could be maybe 100x; I haven't
> > measured it yet.
> >
> >   
> It'll be interesting to compare it with the same kind of dial plan
> written in recently introduced LUA.
> Could you include such  comparison in your future benchmarks.

Steve,

If you need help generating the required diaplan code in lua, I am
willing to assist you.

-- 
Matthew Nicholson
Digium




More information about the asterisk-dev mailing list