Makes sense. We probably don't even need to go as far as compiling. If we haven't tuned it in significant amount of time, we'll likely have big wins if we just invest in most significant PGOs.
Compile to C will be hard, because it'll then require compiler and linker. Many environments will have policies around not having compiler or linker installed on production env. On Mar 29, 2016 12:36 AM, "Peter Portante" <peter.a.porta...@gmail.com> wrote: > On Mon, Mar 28, 2016 at 2:15 PM, David Lang <da...@lang.hm> wrote: > > > Templates are static constructs, but when they are used, they are > > essentially interpreted each time they are accessed. > > > > A few years ago we introduced the idea that templates could be hard-coded > > in C (the built-in templates were done this way, and string modules were > > introduced to allow for further cusomizations). This was enough of an > > improvement to result in a 10%+ improvement in total throughput. > > > > I'm wondering if it would make sense to try and 'compile' a template down > > to C (or something extremely efficient to process) at startup time rather > > than going to hand-coded string modules. > > > > thoughts? > > > FWIW, I'd be in favor of doing that. Great idea. > > -peter > > > > > > > > David Lang > > _______________________________________________ > > rsyslog mailing list > > http://lists.adiscon.net/mailman/listinfo/rsyslog > > http://www.rsyslog.com/professional-services/ > > What's up with rsyslog? Follow https://twitter.com/rgerhards > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > > DON'T LIKE THAT. > > > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > DON'T LIKE THAT. > _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.