Rendering Markdown Can Be Slow #42

Open
opened 2022-12-27 13:42:37 -05:00 by hz · 0 comments

Pages with large multiplechoice questions using the radio or checkbox renderers are really slow , presumably because they call out to markdown a whole lot. It would be good to find a way to speed that up (perhaps by arranging things so that source_transform_string is only called once per page, rather than once for each option (or maybe we could call the _md function more directly, without the extra overhead of all the source_transform_string stuff...)

Pages with large `multiplechoice` questions using the `radio` or `checkbox` renderers are really slow , presumably because they call out to markdown a whole lot. It would be good to find a way to speed that up (perhaps by arranging things so that `source_transform_string` is only called once per page, rather than once for each option (or maybe we could call the `_md` function more directly, without the extra overhead of all the source_transform_string stuff...)
hz added the
enhancement
code
labels 2022-12-27 13:42:37 -05:00
hz changed title from Rendering Markdown is Slow (esp w/ lots of radio/checkbox multiplechoice) to Rendering Markdown Can Be Slow 2022-12-27 13:42:48 -05:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: catsoop/catsoop#42
There is no content yet.