timing map requests

Xin crazygecko at GMAIL.COM
Fri Nov 11 12:05:26 EST 2005


Cheers man! This is *exactly* what I was looking for.

The break down of how long each layer took to process is amazing. Really
gives me a lot of info to optimise my map.

Here's my output from shp2img for those interested:
www-data at homer:~/demo/Europa/Aus$ ./shp2img -l all -m australia.map -o
hello.png
[Fri Nov 11 16:36:56 2005].83988 msDrawMap(): Layer 6 (motorway), 0.024s
[Fri Nov 11 16:36:56 2005].84838 msDrawMap(): Layer 7 (mainroads), 0.001s
[Fri Nov 11 16:36:56 2005].577472 msDrawMap(): Layer 8 (normalroads), 0.492s
[Fri Nov 11 16:36:56 2005].637597 msDrawMap(): Layer 9 (smallroads), 0.060s
[Fri Nov 11 16:36:56 2005].713233 msDrawMap(): Layer 10 (airports), 0.075s
[Fri Nov 11 16:36:56 2005].713576 msDrawMap(): Layer 11 (Capital), 0.000s
[Fri Nov 11 16:36:56 2005].713863 msDrawMap(): Layer 12 (Cities), 0.000s
[Fri Nov 11 16:36:56 2005].714620 msDrawMap(): Layer 13 (towns), 0.001s
[Fri Nov 11 16:36:56 2005].726380 msDrawMap(): Layer 14 (villages), 0.012s
[Fri Nov 11 16:36:57 2005].281766 msDrawMap(): Drawing Label Cache

Note that you need 'DEBUG on' for map object and all layer objects.

Thanks Simpson!

Xin


On 11/11/05, Simpson <asimpson at i-55.com> wrote:
>
> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051111/a2110842/attachment.html


More information about the mapserver-users mailing list