Possible Efficiency Improvements Related to BeautifulSoup? #74
Labels
No Label
accessibility
beginner-friendly
bug
code
critical
cygwin
documentation
duplicate
enhancement
error reporting
external
help wanted
infrastructure
invalid
investigate
language-spec
logs
lti
mac
maybe
qtype:bigbox
qtype:checkoff
qtype:expression
qtype:fileupload
qtype:multiexpression
qtype:multiplechoice
qtype:number
qtype:pythoncode
qtype:pythonic
qtype:pythonliteral
qtype:richtext
qtype:smallbox
question
question types
sandbox
security
ui/ux
wontfix
wsl
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: catsoop/catsoop#74
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Right now, running BeautifulSoup on the output HTML page (and running through the tree to find our custom tags) takes up the bulk of page load times. This is especially true for large/complex HTML output. I wonder if it would be better to run these processes a bunch of times, on small pieces of the page as they're being assembled (e.g., as they're being put into
cs_problem_spec
) rather than doing one big pass at the end.Maybe worth experimenting.