#20434: Have a template tag grammar instead of handling token/parser for every tag, and make it possible to introspect the grammar. -------------------------------------+------------------------------------- Reporter: jonathanslenders | Owner: Type: New feature | jonathanslenders Component: Template system | Status: assigned Severity: Normal | Version: Keywords: | Resolution: Has patch: 0 | Triage Stage: Accepted Needs tests: 0 | Needs documentation: 0 Easy pickings: 0 | Patch needs improvement: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by jonathanslenders): After using "djangobench -t 200": {{{ Running 'l10n_render' benchmark ... Min: 0.004818 -> 0.004467: 1.0786x faster Avg: 0.005679 -> 0.005978: 1.0527x slower Significant (t=-2.910514) Stddev: 0.00103 -> 0.00103: 1.0052x smaller (N = 200) Running 'template_compilation' benchmark ... Min: 0.000048 -> 0.000130: 2.7114x slower Avg: 0.000560 -> 0.000572: 1.0203x slower Not significant Stddev: 0.00149 -> 0.00158: 1.0631x larger (N = 200) Running 'template_render' benchmark ... Min: 0.007676 -> 0.009130: 1.1894x slower Avg: 0.010612 -> 0.011010: 1.0375x slower Not significant Stddev: 0.00384 -> 0.00181: 2.1225x smaller (N = 200) Running 'template_render_simple' benchmark ... Min: 0.000052 -> 0.000079: 1.5229x slower Avg: 0.000346 -> 0.000179: 1.9358x faster Not significant Stddev: 0.00137 -> 0.00134: 1.0233x smaller (N = 200) }}} Not perfectly stable, but better. There was not really any other load on the machine. I guess there's no notable difference in performance, but feel free to run the benchmarks again. -- Ticket URL: <https://code.djangoproject.com/ticket/20434#comment:11> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/074.f2ff7e65dfb9a50d4ff5377e0caa06fb%40djangoproject.com?hl=en. For more options, visit https://groups.google.com/groups/opt_out.