# ParaView Save State py file

**URL:** https://discourse.paraview.org/t/paraview-save-state-py-file/2752
**Category:** ParaView Support
**Created:** [October 12, 2019, 3:48am UTC](https://discourse.paraview.org/t/paraview-save-state-py-file/2752 "2019-10-12T03:48:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![RisingYoung-Learn](https://discourse.paraview.org/user_avatar/discourse.paraview.org/risingyoung-learn/32/2096_2.png) [@RisingYoung-Learn](https://discourse.paraview.org/u/RisingYoung-Learn)
#### Post date: [October 12, 2019, 3:48am UTC](https://discourse.paraview.org/t/paraview-save-state-py-file/2752/1 "2019-10-12T03:48:04Z")

</div>

Hello,

I created 50 Cones in ParaView(ParaView-5.7.0-Windows-Python2.7-msvc2015-64bit), Save State as a pvsm file, which took about 1.7s, and saved as a py file, which took about 9.7s. Tests show that if the number of Cone is larger, the difference between the two is greater! At this time, because when saving as a py file, you need Python and C++ to call each other, which is caused by low efficiency? Or is it because of the special handling of saving as a py file? If I need optimization, what can I do?

Thank you!
