Files
asterisk/main
Sean Bright 077ceacd48 config: Speed up ACO & sorcery initialization
When starting Asterisk in the foreground, there is a perceptible delay
when loading modules that use the ACO and sorcery config frameworks.
For example, a lightly configured res_pjsip took 853ms to load on my
VM.

I tracked down the slowness to the XPath queries used to associate the
relevant documentation with the config options. One improvement was
adding a call to xmlXPathOrderDocElems after loading an XML document.
From the libxml2 docs:

  Call this routine to speed up XPath computation on static documents.

The second change was to remove recursive descent and wildcard
operators from the XPath queries. After these changes, res_pjsip takes
85ms to load on my VM and there is no longer a perceptible delay when
starting Asterisk in the foreground.

Change-Id: I45d457f1580e26bf5a2b0dab16e8e9ae46dcbd82
2017-12-01 09:29:43 -05:00
..
2017-11-17 09:35:22 -05:00
2017-11-20 15:05:14 -05:00
2017-11-20 15:09:02 -05:00
2015-03-25 18:37:04 +00:00
2017-11-20 15:25:57 -05:00
2017-05-30 15:08:05 -05:00
2017-10-24 17:17:53 -04:00
2017-10-25 10:18:33 -05:00
2016-11-01 12:37:58 -05:00
2015-01-26 14:49:32 +00:00