ParaView builds VTK with thread parallelization support while the official python wheels of VTK have this option turned off see here. This is why ParaView is faster. You can try the same script in pvpython
the python interpreter that comes with ParaView itself.