Re: Profiling VTK/Performance improvements (with Python)
Fcs <[email protected]> Tue, 15 Jan 2019 10:54:58 -0700 (MST)
| Newsgroups | gmane.comp.lib.vtk.user |
|---|---|
| Message-ID | <[email protected]> |
Not much of a VTK optimizer myself, but a few ideas to move the conversation forward: - Did you set the VTK_SMP_IMPLEMENTATION_TYPE flag to the correct backend for your compiler? (If you're using LLVM: OpenMP). And does your version of LLVM support OpenMP? Do you have all the libraries installed? As a side note, maybe this document will help: https://vtk.org/Wiki/images/3/3b/VTK_SMP_Guide.pdf - For timing, you can possibly start by measuring the time elapsed when calling Update(). See for instance the timer.StartTimer() calls in this python code: https://vtk.org/gitweb?p=VTK.git;a=blob;f=Filters/Points/Testing/Python/TestPointInterpolator.py - What do you call slow? 41 million cells is not a particularly big test case, so no need to worry about that. What you do need to keep an eye on, though, is your memory usage. If you run out of memory and your system starts swapping to disk, then VTK will be unbearably slow for sure.. -- Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html _______________________________________________ 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 Search the list archives at: http://markmail.org/search/?q=vtkusers Follow this link to subscribe/unsubscribe: https://vtk.org/mailman/listinfo/vtkusers