# vtkResampleWithDataSet is taking too much time

**URL:** https://discourse.vtk.org/t/vtkresamplewithdataset-is-taking-too-much-time/10922
**Category:** Support
**Tags:** python, code
**Created:** [March 8, 2023, 6:33pm UTC](https://discourse.vtk.org/t/vtkresamplewithdataset-is-taking-too-much-time/10922 "2023-03-08T18:33:08Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Christos\_Tsolakis](https://discourse.vtk.org/user_avatar/discourse.vtk.org/christos_tsolakis/32/2076_2.png) [@Christos\_Tsolakis](https://discourse.vtk.org/u/Christos_Tsolakis)
#### Post date: [March 8, 2023, 11:47pm UTC](https://discourse.vtk.org/t/vtkresamplewithdataset-is-taking-too-much-time/10922/2 "2023-03-08T23:47:19Z")

</div>

ParaView builds VTK with thread parallelization support while the official python wheels of VTK have this option turned off see [here](https://discourse.vtk.org/t/are-there-any-prebuilt-python-wheel-with-openmp-support). This is why ParaView is faster. You can try the same script in `pvpython` the python interpreter that comes with ParaView itself.

---

_[View the full topic](https://discourse.vtk.org/t/vtkresamplewithdataset-is-taking-too-much-time/10922)._
