Howto Evaluate Performance of Mapserver/mapfiles

Richard Greenwood richard.greenwood at GMAIL.COM
Wed Jan 5 17:10:01 EST 2005


On Wed, 5 Jan 2005 14:16:01 -0500, Stephen Woodbridge
<woodbri at swoodbridge.com> 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.
>

This is so simple that I almost hesitate to mention it. I use
javascript to set a cookie on the client when they submit. The cookie
holds the system time of the submit. Then at the bottom of the newly
render page I have a line of javascript that subtracts the saved
cookie time from the current system time and displays the difference.

--
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com



More information about the mapserver-users mailing list