mailr23757 - /branches/disp_spin_speed/test_suite/shared_data/dispersion/profiling/profiling_cr72.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by tlinnet on June 09, 2014 - 19:46:
Author: tlinnet
Date: Mon Jun  9 19:46:22 2014
New Revision: 23757

URL: http://svn.gna.org/viewcvs/relax?rev=23757&view=rev
Log:
Lowered the number of iterations to the profiling scripts.

This is to use the profiling script as bug finder.

Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion 
models for Clustered analysis.

Modified:
    
branches/disp_spin_speed/test_suite/shared_data/dispersion/profiling/profiling_cr72.py

Modified: 
branches/disp_spin_speed/test_suite/shared_data/dispersion/profiling/profiling_cr72.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/disp_spin_speed/test_suite/shared_data/dispersion/profiling/profiling_cr72.py?rev=23757&r1=23756&r2=23757&view=diff
==============================================================================
--- 
branches/disp_spin_speed/test_suite/shared_data/dispersion/profiling/profiling_cr72.py
      (original)
+++ 
branches/disp_spin_speed/test_suite/shared_data/dispersion/profiling/profiling_cr72.py
      Mon Jun  9 19:46:22 2014
@@ -57,7 +57,7 @@
         # Calc for single.
         s_filename = tempfile.NamedTemporaryFile(delete=False).name
         # Profile for a single spin.
-        cProfile.run('single(iter=10000)', s_filename)
+        cProfile.run('single(iter=100)', s_filename)
 
         # Read all stats files into a single object
         s_stats = pstats.Stats(s_filename)
@@ -75,7 +75,7 @@
         # Calc for cluster.
         c_filename = tempfile.NamedTemporaryFile(delete=False).name
         # Profile for a cluster of 100 spins.
-        cProfile.run('cluster(iter=10000)', c_filename)
+        cProfile.run('cluster(iter=100)', c_filename)
 
         # Read all stats files into a single object
         c_stats = pstats.Stats(c_filename)




Related Messages


Powered by MHonArc, Updated Mon Jun 09 20:00:02 2014