[pdal] reading las is slower than liblas

Luca Delucchi lucadeluge at gmail.com
Tue Jun 9 00:17:32 PDT 2015


On 8 June 2015 at 17:59, Howard Butler <howard at hobu.co> wrote:
>
>> 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?

Just running `pdal info` and `lasinfo` on a 105MB and a 220MB LAS file
pdal was installed using the RPM files from here [0]

> 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.
>

I see

> Howard

[0] http://pdal.s3-website-us-east-1.amazonaws.com/rpms/

-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org


More information about the pdal mailing list