zulip/web
Alex Vandiver c13e3dee24 katex: Replace subprocess call with minimal external service.
Replace a separate call to subprocess, starting `node` from scratch,
with an optional standalone node Express service which performs the
rendering.  In benchmarking, this reduces the overhead of a KaTeX call
from 120ms to 2.8ms.  This is notable because enough calls to KaTeX in
a single message would previously time out the whole message
rendering.

The service is optional because he majority of deployments do not use
enough LaTeX to merit the additional memory usage (60Mb).

Fixes: #17425.
2024-03-15 15:34:12 -07:00
..
e2e-tests typeahead: Improve compose topic typeahead behaviour. 2024-03-13 10:00:56 -07:00
generated
html
images
server katex: Replace subprocess call with minimal external service. 2024-03-15 15:34:12 -07:00
shared
src search_suggestion: Convert module to TypeScript. 2024-03-15 13:10:34 -07:00
styles stream picker: Remove stream colorblock. 2024-03-15 11:11:04 -07:00
templates stream picker: Remove stream colorblock. 2024-03-15 11:11:04 -07:00
tests tests: Replace unneeded override_rewire uses by whole-module mocks. 2024-03-15 17:29:47 -04:00
third typeahead: Move module to web/src. 2024-03-11 09:56:18 -07:00
.browserslistrc
.gitignore
babel.config.js
debug-require-webpack-plugin.ts
debug-require.js
postcss.config.js
webpack.assets.json
webpack.config.ts katex: Replace subprocess call with minimal external service. 2024-03-15 15:34:12 -07:00
webpack.dev-assets.json