forked from jupyterlab/jupyterlab
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve performance of rendering stdout/stderr (jupyterlab#17022)
* Add a test for a fast rendering path when no ANSI codes are present * Expect the fast path to be at least 10% faster * Rewrite the test to use sanitizer spy instead of timing * Implement fast path for escaping HTML when ANSI is absent Ignore eslint false positive
- Loading branch information
1 parent
c9700a2
commit a0733bf
Showing
2 changed files
with
65 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters