<br><div class="gmail_quote">On Fri, Mar 4, 2011 at 5:58 PM, Peter Davis <span dir="ltr"><<a href="mailto:pfd@pfdstudio.com">pfd@pfdstudio.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><div class="gmail_quote"><div><div></div><div class="h5">On Fri, Mar 4, 2011 at 2:38 PM, Peter Davis <span dir="ltr"><<a href="mailto:pfd@pfdstudio.com" target="_blank">pfd@pfdstudio.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><br><div class="gmail_quote"><div>On Thu, Mar 3, 2011 at 4:07 PM, Peter Davis <span dir="ltr"><<a href="mailto:pfd@pfdstudio.com" target="_blank">pfd@pfdstudio.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><div class="gmail_quote"><div>On Thu, Mar 3, 2011 at 10:53 AM, Martin Schröder <span dir="ltr"><<a href="mailto:martin@oneiros.de" target="_blank">martin@oneiros.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2011/3/3 William Adams <<a href="mailto:will.adams@frycomm.com" target="_blank">will.adams@frycomm.com</a>>:<br>
<div>> Have you tried processing it w/o including the graphics?<br>
<br>
</div>That would be my first guest. Try with the draft option...<br></blockquote><div><br></div></div><div>(NB: Just replying to texhax, to avoid cross-posting issues I seem to have triggered.)</div><div><br></div><div>I tried running 200 pages, with and without draft mode. Specifically, I put draft mode on the graphicx package:</div>
<div><br></div><div>\includepackage[draft]{graphicx}</div><div><br></div><div>I used the --time-statistics option on the xelatex command to get timings. The results are:</div><div><br></div><div>Non-draft: </div><div>gross: 111634 ms, user mode: 17050 ms, kernel mode: 50778 ms, total: 67828</div>
<div>Draft: </div><div>gross: 77941 ms, user mode: 12589 ms, kernel mode: 27300 ms, total: 39889</div></div></blockquote><div><br></div></div><div>Now using \newfontfamily *and* [draft]{graphicx} ...</div><div><br></div>
<div><div>
gross execution time: 45458 ms</div><div>user mode: 8658 ms, kernel mode: 25006 ms, total: 33664</div></div><div><br></div><div>A definite improvement. Now to try etex and box registers for the external graphics.</div></div>
</blockquote><div><br></div><div><br></div></div></div><div>Ok, I tried using \savebox, and got this:</div><div><br></div><div><div>gross execution time: 3996 ms</div><div>user mode: 1123 ms, kernel mode: 436 ms, total: 1559</div>
</div>
<div><br></div></div></blockquote><div><br></div><div>I fixed the random name generator (which generates unique names for the saveboxes), and now the entire 35,000 page job runs in 8 minutes. Quite a difference from over 10 hours! This was just from two optimizations: using \newfontfamily and using \newsavebox for all the graphics.</div>
<div><br></div><div>I'd still like to get it down to 2 or 3 minutes, but I'm in range now.</div><div><br></div><div>Thank you *VERY* much for all the help suggestions and information here. (Sorry for cross-posting again, but I wanted to reach everyone who commented. Please don't reply to both lists.)</div>
<div><br></div><div>Cheers,</div><div>-pd</div><div><br></div></div><br>-- <br><span style="font-family:arial, sans-serif;border-collapse:collapse">----<div>The Tech Curmudgeon</div><div><a href="http://www.techcurmudgeon.com/" style="color:rgb(17, 65, 112)" target="_blank">http://www.techcurmudgeon.com</a></div>
<div style="font-size:10.8333px"><br></div></span><br>