gitlab-org--gitlab-foss/lib/banzai
Rémy Coutable 6ffafc7946 Merge branch 'syntax-highlight-filter-performance' into 'master'
Improve performance of SyntaxHighlightFilter

## What does this MR do?

This MR improves the performance of `Banzai::Filter::SyntaxHighlightFilter`. See e9bacc6575d0002c6cab620075dea3dc7f93f100 for more information.

## Are there points in the code the reviewer needs to double check?

Styling mostly.

## Why was this MR needed?

Syntax highlighting is rather slow.

## What are the relevant issue numbers?

#18592 

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [x] ~~[Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)~~
- [x] ~~API support added~~
- Tests
  - [x] ~~Added for this feature/bug~~
  - [ ] All builds are passing
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [ ] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

See merge request !5643
2016-08-04 10:13:39 +00:00
..
filter Merge branch 'syntax-highlight-filter-performance' into 'master' 2016-08-04 10:13:39 +00:00
pipeline Use a more powerful query to match videos in img tags 2016-07-19 18:51:09 +02:00
reference_parser Method for returning issues readable by a user 2016-07-29 12:51:18 +02:00
cross_project_reference.rb Prevent circular reference error in Banzai 2016-01-14 11:30:28 +01:00
filter.rb Remove redundant `require`s from Banzai files 2016-03-24 13:23:47 -04:00
filter_array.rb Add FilterArray class to Banzai 2016-03-01 15:54:35 -05:00
note_renderer.rb Support for rendering/redacting multiple documents 2016-06-24 11:46:39 +02:00
object_renderer.rb Object renderer read_multi rendered entries from Cache 2016-07-12 14:35:29 +02:00
pipeline.rb Prevent circular reference error in Banzai 2016-01-14 11:30:28 +01:00
querying.rb Optimize CSS expressions produced by Nokogiri 2015-12-31 15:46:47 +01:00
redactor.rb Optimize system note visibility checking by hiding notes that 2016-07-11 15:09:21 -07:00
reference_extractor.rb Retrieve rendered HTML from cache in one request 2016-07-21 21:17:25 +02:00
reference_parser.rb Split Markdown rendering & reference gathering 2016-05-26 17:14:00 +02:00
renderer.rb Make banzai module that handles markdown singleton 2016-07-19 15:12:15 +02:00