Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapos.recipe.template
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedinexedi
  • slapos.recipe.template
  • Merge requests
  • !3
The source project of this merge request has been removed.

jinja2_template.py: Compile the same source only once and use compiled source next time.

Merged Yusei Tahara requested to merge (removed):master into master Jan 18, 2018
  • Overview 7
  • Pipelines 0
  • Changes 1

compile function takes a lot of time, thus this change saves time when the same source is used many times in apache frontend SR.

@jm Can you review this change? In my apache frontend test environment, with this change, I can save 50 sec to compile the same jinja2 template about 1800 times.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7