On 07/09/2014 12:32 AM, S Page wrote: > Both handlebars (JS) and lightncandy (handlebars reimplemented in PHP) > support pre-compilation. Are the times in > https://www.mediawiki.org/wiki/Requests_for_comment/HTML_templating_library#Performance > for pre-compilation?
No, those timings currently include compiling the templates from scratch once per test run. We can add some runs with precompilation as well. While most of the speed-up for browser users is achieved by reducing the download size (no compiler to download), it'll still be interesting to see how much cpu time precompilation saves. I just updated the results with the latest full result set from ruthenium: https://www.mediawiki.org/wiki/Requests_for_comment/HTML_templating_library#Performance They now also includes Hogan.js and the Spacebars & HTMLJS benchmarks added by CScott. >> ... if compilation & caching happens dynamically in ResourceLoader > Would be nice. Agreed. Gabriel _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
