<div dir="ltr">I've opened <a href="https://github.com/mapserver/mapserver/pull/5259">https://github.com/mapserver/mapserver/pull/5259</a> with a potential fix for this. Can you try it out on your testcase and report back with your perf timings please?<div><br></div><div>--</div><div>thomas</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 29 February 2016 at 19:01, thomas bonfort <span dir="ltr"><<a href="mailto:thomas.bonfort@gmail.com" target="_blank">thomas.bonfort@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Please open an issue for this</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 29 February 2016 at 18:38, Pierre Mauduit <span dir="ltr"><<a href="mailto:pierre.mauduit@camptocamp.com" target="_blank">pierre.mauduit@camptocamp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi list,<div><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Mon, Feb 29, 2016 at 5:33 PM, thomas bonfort <span dir="ltr"><<a href="mailto:thomas.bonfort@gmail.com" target="_blank">thomas.bonfort@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">For what kind of requests (WMS, WFS, raster, vector, ...)?</div><div class="gmail_extra"><br></div></blockquote><div><br></div></span><div>It was a WMS getmap onto a layer which gets its data from a shapefile. The performance issue comes from the fact that the msGetProjectNormalized()[1] call on the projections will need to create a new proj4 context with loads of costly calls to strncmp(). The getmap request in 6.5 (official deb package) shows that 6billions CPU cycles are needed, against more than 30 billions in 7.0.</div><div><br></div><div>I can provide more details if needed, regards,</div><div><br></div><div>[1] <a href="https://github.com/mapserver/mapserver/blob/branch-7-0/mapproject.c#L1106-L1107" target="_blank">https://github.com/mapserver/mapserver/blob/branch-7-0/mapproject.c#L1106-L1107</a></div><span><font color="#888888"><div><br></div><div>-- Pierre</div><div><br></div></font></span></div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"></div></div></div></div></div></div>
</div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>