ParaView saves state py file, it takes too long


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.73s. As shown below:

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!