Benchmarks | C++

I/O

File reading and writing performance.

Benchmarks for file I/O operations. See experimental setup for methodology.

Read STL

Reading binary STL files into mesh data structures. TrueForm uses tf::read_stl with memory-mapped I/O and parallel vertex deduplication; libigl uses igl::readSTL with stream-based reading; VTK uses vtkSTLReader.

Source: TrueForm, libigl, VTK

Read STL

libigl

Read STL (Speedup)

vs libigl
vs

TrueForm STL reading is 1.3x faster than libigl and 5x faster than VTK at 1M polygons.