Cheers man! This is *exactly* what I was looking for.<br>
<br>
The break down of how long each layer took to process is amazing. Really gives me a lot of info to optimise my map.<br>
<br>
Here's my output from shp2img for those interested:<br>
www-data@homer:~/demo/Europa/Aus$ ./shp2img -l all -m australia.map -o hello.png<br>
[Fri Nov 11 16:36:56 2005].83988 msDrawMap(): Layer 6 (motorway), 0.024s<br>
[Fri Nov 11 16:36:56 2005].84838 msDrawMap(): Layer 7 (mainroads), 0.001s<br>
[Fri Nov 11 16:36:56 2005].577472 msDrawMap(): Layer 8 (normalroads), 0.492s<br>
[Fri Nov 11 16:36:56 2005].637597 msDrawMap(): Layer 9 (smallroads), 0.060s<br>
[Fri Nov 11 16:36:56 2005].713233 msDrawMap(): Layer 10 (airports), 0.075s<br>
[Fri Nov 11 16:36:56 2005].713576 msDrawMap(): Layer 11 (Capital), 0.000s<br>
[Fri Nov 11 16:36:56 2005].713863 msDrawMap(): Layer 12 (Cities), 0.000s<br>
[Fri Nov 11 16:36:56 2005].714620 msDrawMap(): Layer 13 (towns), 0.001s<br>
[Fri Nov 11 16:36:56 2005].726380 msDrawMap(): Layer 14 (villages), 0.012s<br>
[Fri Nov 11 16:36:57 2005].281766 msDrawMap(): Drawing Label Cache<br>
<br>
Note that you need 'DEBUG on' for map object and all layer objects.<br>
<br>
Thanks Simpson!<br>
<br>
Xin<br>
<br><br><div><span class="gmail_quote">On 11/11/05, <b class="gmail_sendername">Simpson</b> <<a href="mailto:asimpson@i-55.com">asimpson@i-55.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span><font color="#0000ff" face="Arial" size="2">shp2img on the command line combined with the time command in unix/linux
will do what you want without other time contributing factors, like Web server
and network.</font></span></div></blockquote></div>