On 05/10/2011 03:19 PM, Guenter Milde wrote:
On 2011-05-10, Abdelrazak Younes wrote:
On 05/10/2011 11:15 AM, Guenter Milde wrote:
On 2011-05-09, Richard Heck wrote:
As, generally, the LyX -> first-non-native-format (latex, html, text)
export is fast
Export to latex is not fast. It seems to be fast on Linux because the
process is forked.
Also with LyX 1.6?
AFAIR Yes
With buffer cloning?
Not for 1.6.
File>Export>LaTeX for a document that compiles in> 30s,
takes< 1s on my machine.
Try at the command line...
(compared to the following steps and to image
conversions), could we consider not to clone the buffer but do the
initial export before starting a new thread?
See above. There is no point in using threads if we have to freeze the
GUI even a few seconds. But if we manage to speed up latex export under
1 second for say, the user guide, this could be an option.
Of course, we should not block the GUI while converting images or
running sweave...
I am talking about lyx export to latex only. Exporting UserGuide with
LyX-1.6 takes about 3s on my system. Exporting Intro.lyx takes about 1s,
so my pseudo estimation is that it takes 2 second to actually export the
UserGuide to plain latex.
younes@sdu1:~/testexport$ time lyx -e latex UserGuide.lyx
real 0m3.022s
user 0m2.260s
sys 0m0.460s
younes@sdu1:~/testexport$ ls
UserGuide.lyx UserGuide.tex
younes@sdu1:~/testexport$ time lyx -e latex UserGuide.lyx
real 0m3.057s
user 0m2.250s
sys 0m0.470s
younes@sdu1:~/testexport$ time lyx -e latex UserGuide.lyx
real 0m2.908s
user 0m2.350s
sys 0m0.370s
younes@sdu1:~/testexport$ time lyx -e latex UserGuide.lyx
real 0m2.881s
user 0m2.200s
sys 0m0.510s
younes@sdu1:~/testexport$ time lyx -e latex Intro.lyx
real 0m1.201s
user 0m0.830s
sys 0m0.240s
Abdel.