4 ms·
> diagrams with plant uml ...any tip on getting that working faster? (it takes seconds!!!) I generally prefer to edit the plantuml markup and see the diagram u
by nnq 7y ago
> diagrams with plant uml
...any tip on getting that working faster? (it takes seconds!!!) I generally prefer to edit the plantuml markup and see the diagram update instantly (like ~<200ms) on the other half split. This is the workflow I have with VSCode + Markdown Preview Enhanced.
I prefer org mode deeper structure instead of markdown, but this kinds of usability stuff (there's also horrible latex formulas rendering, a thousand small papercuts that are fixable but nobody has time for that). From a practical perspective nothing just works out-of-the box the way I want on Emacs, and I'm just to lazy to properly customize everything...
- cheez 7y agoDid you try disabling the splash screen?
- juki 7y agoI assume those seconds are mainly JVM startup time. The existing ob-plantuml doesn't support sessions, so it evaluates every code block in a new instance of plantuml. Seems to me like should be possible to use the `-pipe`-option for plantuml so that you can send multiple code blocks to the same instance via stdin and get the images back via stdout. That's probably what VSCode does, but it doesn't seem like anyone has bothered to write that for Emacs so far.
- WhatIsDukkha 7y agoYep most likely - https://code.orgmode.org/bzg/org-mode/src/master/lisp/ob-plantuml.el https://code.orgmode.org/bzg/org-mode/src/master/lisp/ob-pla... Seems like this might an opportunity for a graalvm build of plantuml... might be better then a server version but tbd. https://www.graalvm.org/ https://www.graalvm.org/