Follow

Still looking for easy LML choices ( + ) 

Source file: 62 lines.
Output file: 5 HTML paragraphs & a poem div or table.

Times of consecutive runs:

rst2html-3.6 (py36-docutils):
0.77 real 0.68 user 0.08 sys
0.69 real 0.66 user 0.03 sys
0.69 real 0.60 user 0.08 sys
0.70 real 0.65 user 0.05 sys
0.70 real 0.63 user 0.07 sys
txt2tags (txt2tags):
0.20 real 0.18 user 0.01 sys
0.22 real 0.20 user 0.01 sys
0.22 real 0.19 user 0.03 sys
0.20 real 0.19 user 0.01 sys
0.21 real 0.18 user 0.02 sys

:3

Still looking for easy LML choices ( + ) 

txt2tags is much simpler in structure while still being complete enough for my needs. Also, I don't have to provide a dummy template to get just an (X)HTML fragment out of it. Best of all, its only dependency is python.

But it has 2 drawbacks: I can't specify image attributes like dimensions, which means the page could shift while loading; & it depends on python 2, not python 3.

txt2tags: txt2tags.org/

docutils: docutils.sourceforge.net/

Still looking for easy LML choices ( ~+ ) 

... Is some of the delay from python 3 itself?

Consecutive runs on the same source file with rst2html from py27-docutils:
0.41 real 0.36 user 0.03 sys
0.40 real 0.27 user 0.12 sys
0.39 real 0.33 user 0.06 sys
0.40 real 0.29 user 0.10 sys
0.40 real 0.31 user 0.08 sys

Sign in to participate in the conversation
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!