Ticket #3130 (closed defect: wontfix)
ANGLE FOLLOW performance issue in Linux (not in MS4W)
| Reported by: | clj2289 | Owned by: | sdlime |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.6 release |
| Component: | MapServer C Library | Version: | 5.4 |
| Severity: | normal | Keywords: | |
| Cc: | dmorissette, aboudreault, jmckenna |
Description (last modified by dmorissette) (diff)
Using ANGLE FOLLOW on an annotation layer increases draw time for a layer by a factor of 3, but only on Linux. This was tested using shp2img command on the following version, 5.4.2, 5.4.1, 5.2.3, 5.0.0 and trunk (9/21/2009). The difference in performance can be see in the following log message comparing ANGLE FOLLOW and ANGLE AUTO. Attached you will find a test set and a profile of ANGLE FOLLOW and ANGLE AUTO.
Angle Follow:
[Mon Sep 21 02:01:50 2009].285986 msDrawMap(): Layer 0 (local road names), 0.129s [Mon Sep 21 02:01:55 2009].313465 msDrawMap(): Drawing Label Cache, 5.027s [Mon Sep 21 02:01:55 2009].313504 msDrawMap() total time: 5.158s [Mon Sep 21 02:01:55 2009].334529 msSaveImage() total time: 0.021s [Mon Sep 21 02:01:55 2009].334601 msFreeMap(): freeing map at 0x8114e08.
Angle Auto:
[Mon Sep 21 02:02:30 2009].164785 msDrawMap(): Layer 0 (local road names), 0.016s [Mon Sep 21 02:02:31 2009].757127 msDrawMap(): Drawing Label Cache, 1.592s [Mon Sep 21 02:02:31 2009].757163 msDrawMap() total time: 1.610s [Mon Sep 21 02:02:31 2009].780415 msSaveImage() total time: 0.023s [Mon Sep 21 02:02:31 2009].780487 msFreeMap(): freeing map at 0x86b1e08.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

