Skip to content

Improve rendering performance of Banzai

yorickpeterse-staging requested to merge banzai-webscale into master

Related issues:

  • gitlab-org/gitlab-ce#14315
  • gitlab-org/gitlab-ce#13651

TODO:

  • Banzai::Filter::ExternalIssueReferenceFilter#call calls Project#default_issues_tracker? which runs a query on every call. Memoizing this only works if the Project instance is shared between instances of this filter. Either way it should at most only run this method once.
  • Fix the two failing specs
  • Clean of the various call methods in the filters where I inlined methods
  • Remove the replace_XXX methods in ReferenceFilter now that they're no longer used.

Merge request reports