asciidoctor-fopub icon indicating copy to clipboard operation
asciidoctor-fopub copied to clipboard

Delayed start

Open oliviercailloux opened this issue 5 years ago • 5 comments

fopub seems to do nothing for about 13 seconds before starting to process the document (on a reasonably fast and recent computer and using the simple sample.xml document provided). How can I speed it up?

Details:

$ git clone [email protected]:asciidoctor/asciidoctor-fopub.git
$ cd asciidoctor-fopub/
$ gedit sample.adoc

[copied content provided in the README of this repository]

$ asciidoctor -b docbook -d book -a data-uri! sample.adoc
$ ./fopub sample.xml

[first run downloads some stuff, takes 29 seconds in total and produces the expected PDF]

$ ./fopub sample.xml

[second and next runs take 15 seconds in total and produce the expected PDF; for about 13 seconds fopub does not output anything, only then does it start saying “INFOS: Rendered page #1.” and so on]

oliviercailloux avatar Nov 06 '19 15:11 oliviercailloux

I've been wondering the same thing. Seems like it's trying to resolve something over the network.

mojavelinux avatar Nov 06 '19 19:11 mojavelinux

Sorry, didn’t understand you. Same thing as what? Do you mean that this delay is a usual behavior?

oliviercailloux avatar Nov 07 '19 08:11 oliviercailloux

I'm saying I have observed the same problem. I have no idea what is causing it.

mojavelinux avatar Nov 07 '19 08:11 mojavelinux

Ah ok, I thought it was something specific to my setup, especially given that the README indicates that the application is fast thanks to it working locally. Let me add, in case it is different for you, that for me the delay is systematic: it happens with every document I tried and at each run.

oliviercailloux avatar Nov 07 '19 12:11 oliviercailloux

I can confirm it is happening on every document for me too. It didn't used to do this, so something changed recently.

mojavelinux avatar Nov 07 '19 19:11 mojavelinux

This issue is outside of our control and no one knows how to fix it. Closing.

mojavelinux avatar Oct 26 '23 10:10 mojavelinux