Howto Evaluate Performance of Mapserver/mapfiles

Sean Gillies sgillies at FRII.COM
Wed Jan 5 14:23:43 EST 2005


On Jan 5, 2005, at 12:16 PM, Stephen Woodbridge wrote:

> Hi all,
>
> I am wondering if there are any tools built into mapserver that would
> help in evaluation performance of my mapfile and help indicate things I
> might want to consider changing.
>
> Are there any useful mapfile settings or command line settings that
> would dump useful information about performance?
>
> I am looking at trying to tune some mapfiles and it would be helpful to
> know what layers got drawn, how many objects were rendered, how much
> time was spent on each layer, how many files were opened for each
> layer,
> etc.
>
> My mapfile is totally shapefile layers and a lot of them at that > 100
> layers.
>
> Any ideas would be greatly appreciated.
>
> -Steve W.
>
>

MAP
   DEBUG ON
   ...
END

That's the only built in performance evaluation.  If you were using
mapscript, you could use your favorite Perl/Python lint or profile
tool.

cheers,
Sean


--
Sean Gillies
sgillies at frii dot com
http://users.frii.com/sgillies



More information about the mapserver-users mailing list