[pdal] reading las is slower than liblas

Howard Butler howard at hobu.co
Mon Jun 8 08:59:57 PDT 2015


> On Jun 8, 2015, at 9:14 AM, Luca Delucchi <lucadeluge at gmail.com> wrote:
> 
> Hi devs,
> 
> I'm doing some comparison between liblas and pdal and it seems to me
> that pdal is really slower to read las files.
> 
> Following the result of time command with the same las file:
> 
> - liblas
> real    0m2.145s
> user    0m2.072s
> sys     0m0.068s
> 
> - pdal
> real    0m48.900s
> user    0m48.160s
> sys     0m0.785s
> 
> do you have any idea why is so slower?
> 
> PS
> I tested several files and it seems to me that the time of pdal is
> equal ~20 time the result of liblas

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.

Howard


More information about the pdal mailing list