[vtkusers] vtkStructuredPointsReader speed with vectors

Michael Jackson mike.jackson at bluequartz.net
Fri Oct 14 08:55:15 EDT 2011


Are those files binary or ascii? Loading binary vtk files can be very
quick where their ascii versions are much slower. I have as much as a
10x speed up going from ascii to binary format.

-----
Mike Jackson                     www.bluequartz.net
Principal Software Engineer       mike.jackson at bluequartz.net
BlueQuartz Software               Dayton, Ohio
Sent from my mobile device.

On Oct 14, 2011, at 8:02, Tijmen Klein <T.R.Klein at student.rug.nl> wrote:

> I have an application that loads 70 files of data in the legacy VTK format. 35 files contain scalar data, and 35 files contain vector data. The scalar files are around 4MB per file, and the vector files around 12MB.
> However, loading all scalar files (with a vtkStructuredPointsReade) takes around 12 seconds, loading all vector files takes around 65 seconds. That's more than 5 times slower, while the files are only 3 times larger.
>
> Is there a explanation for this difference in speed, and is there a way to increase the loading speed of those vector files? Would converting (all) files to a different format help with the loading time? Waiting 77 seconds before the data is loaded is a bit much.
>
> Cheers,
> Tijmen
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list