<div dir="ltr"><div><div><div><div>Hi<br></div><br></div>I once noticed that you have to set CMAKE_BUILD_TYPE to "Release" and not "Debug" to get a much faster reading. I think I remember that the default setting was "Debug".<br><br></div>best regards<br></div>Stefan<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 8, 2015 at 5:59 PM, Howard Butler <span dir="ltr"><<a href="mailto:howard@hobu.co" target="_blank">howard@hobu.co</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On Jun 8, 2015, at 9:14 AM, Luca Delucchi <<a href="mailto:lucadeluge@gmail.com">lucadeluge@gmail.com</a>> wrote:<br>
><br>
> Hi devs,<br>
><br>
> I'm doing some comparison between liblas and pdal and it seems to me<br>
> that pdal is really slower to read las files.<br>
><br>
> Following the result of time command with the same las file:<br>
><br>
> - liblas<br>
> real    0m2.145s<br>
> user    0m2.072s<br>
> sys     0m0.068s<br>
><br>
> - pdal<br>
> real    0m48.900s<br>
> user    0m48.160s<br>
> sys     0m0.785s<br>
><br>
> do you have any idea why is so slower?<br>
><br>
> PS<br>
> I tested several files and it seems to me that the time of pdal is<br>
> equal ~20 time the result of liblas<br>
<br>
</span>Can you ticket what you’re doing for a test that demonstrates this? I would expect it to be a little slower due to the fact that liblas is essentially just copying bytes, and PDAL’s doing some extra work, but not 20x.<br>
<span class="HOEnZb"><font color="#888888"><br>
Howard<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org">pdal@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pdal" target="_blank">http://lists.osgeo.org/mailman/listinfo/pdal</a></div></div></blockquote></div><br></div>