Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Katex gem is slower than piping to katex CLI tool #5

Open
cirosantilli opened this issue Jun 14, 2019 · 2 comments
Open

Katex gem is slower than piping to katex CLI tool #5

cirosantilli opened this issue Jun 14, 2019 · 2 comments

Comments

@cirosantilli
Copy link

I did some naive benchmarking which might be of interest to you: asciidoctor/asciidoctor#3338 (comment)

In that I found that for some reason simply piping math into katex seemed to run considerably faster than using this extension.

Let me know if you find something wrong with my benchmark! Cheers.

@jirutka
Copy link
Owner

jirutka commented Mar 7, 2020

This is most likely caused by execjs used by katex-ruby.

@cirosantilli
Copy link
Author

You can speed it up with schmooze btw: https://github.com/cirosantilli/asciidoctor-katex-2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants