Speed of the MapServer-Output

Daniel Morissette dmorissette at MAPGEARS.COM
Mon Dec 11 07:11:35 PST 2006


Reinhard Keltermann wrote:
> 
> I would like to know if it`s possible to see somehow how 
> fast the mapserver is producing a map.
> For example an entry in a logfile or so that says: 0,034 seconds.
> 
> Is there somewhere an entry in the logfile of the apache or the MapServer?
> 
> By now I can just get the time by looking on my watch, and that`s not very precise.....
> 

If your MapServer is built with the DEBUG=MSDEBUG option (--with-debug 
configure option) then you can set "DEBUG ON" at the top-level in your 
mapfile and you'll get some timing details in Apache's error_log. The 
log output will include the time required to render each layer and the 
label cache. That can then be used to figure which layer(s) take most of 
the time and decide which ones to work on in tuning your map.

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/



More information about the MapServer-users mailing list