zulip/puppet
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
..
kandra ruff: Fix RUF027 Possible f-string without an `f` prefix. 2024-03-01 09:30:04 -08:00
zulip katex: Replace subprocess call with minimal external service. 2024-03-15 15:34:12 -07:00
deps.yaml puppet: Update dependencies. 2023-05-11 10:51:37 -07:00