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

Make Saaze build two times faster by using MD4C #4

Open
eklausme opened this issue Jul 12, 2021 · 0 comments
Open

Make Saaze build two times faster by using MD4C #4

eklausme opened this issue Jul 12, 2021 · 0 comments

Comments

@eklausme
Copy link

Saaze has some design criteria, see Saaze Introduction:

  1. Easy to run
  2. Easy to host
  3. Easy to edit
  4. Easy to theme
  5. Fast and secure
  6. Simple to understand

When adding a PHP FFI interfaces, clearly, requirement 1+2 would suffer, but 5 would increase twofold.

I changed the Markdown to HTML conversion from Markdown Extra to MD4 and observed a 50% CPU time reductions overall.

I wrote about this here: Calling MD4C from PHP via FFI.

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

1 participant