From: Joonghyun R. <jh...@vo...> - 2008-10-25 05:52:26
|
Hi, all I am sending this email for asking you about checking the performance of PyMOL. I tried to check the elapsed time for the computation of a molecular surface as follows. -- import os import cmd import pymol cmd.set("surface_quality", "2") start = time.time() cmd.show("surface") end = time.time() elapsedTime = (end - start) print "Elapsed time: ", elapsedTime, "sec." -- The result always shows 0 sec. for any sized PDB file. For example, it takes about 10 sec. for 1L7A.pdb (by my watch) which contains about 5000 atoms. However, if I run the above codes in PyMOL command-line mode, it shows Elapsed time: 0 sec. Currently, I am using PyMOL 1.1b4edu (May 2008) on Windows XP. Should I use other APIs for checking the performance? |