On 11/18/2010 11:30 PM, Daniel Wittenberg wrote: > Watching nagios in debug mode for awhile, made me think about the > processing of macros and the performance impact. It seems that for most > macro's, like user defined ones, they don't change. So does it really > make sense to keep processing them over and over and over...could that > be something that maybe you could do in the pre-cache stage when nagios > starts. Would that cause more problems? >
That would be an excellent idea. Any chance you could whip up a patch? If you run grep -i -e xxx -e todo */*.c on latest cvs or git sources, you'll find a few more places where there are obvious and simple performance improvements to be made. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null