[mlpack-svn] r15605 - in mlpack/conf/jenkins-conf/benchmark: benchmark util
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Fri Aug 9 15:17:54 EDT 2013
Author: marcus
Date: Fri Aug 9 15:17:54 2013
New Revision: 15605
Log:
Close figure to reduce memory.
Modified:
mlpack/conf/jenkins-conf/benchmark/benchmark/make_reports.py
mlpack/conf/jenkins-conf/benchmark/util/graph.py
Modified: mlpack/conf/jenkins-conf/benchmark/benchmark/make_reports.py
==============================================================================
--- mlpack/conf/jenkins-conf/benchmark/benchmark/make_reports.py (original)
+++ mlpack/conf/jenkins-conf/benchmark/benchmark/make_reports.py Fri Aug 9 15:17:54 2013
@@ -167,7 +167,7 @@
maxId = 0
for f in files:
- pattern = re.compile(br"""
+ pattern = re.compile(r"""
.*?index_(?P<id>.*?).html
""", re.VERBOSE|re.MULTILINE|re.DOTALL)
Modified: mlpack/conf/jenkins-conf/benchmark/util/graph.py
==============================================================================
--- mlpack/conf/jenkins-conf/benchmark/util/graph.py (original)
+++ mlpack/conf/jenkins-conf/benchmark/util/graph.py Fri Aug 9 15:17:54 2013
@@ -173,6 +173,7 @@
# Save the bar chart.
fig.savefig(fileName, bbox_extra_artists=(lgd,), bbox_inches='tight',
facecolor=fig.get_facecolor(), edgecolor='none', format='png')
+ plt.close()
# Count the time in which bestlib is the best.
bestLibCount = 0
@@ -236,3 +237,4 @@
# Save the line chart.
fig.savefig(fileName, bbox_inches='tight', facecolor=fig.get_facecolor(),
edgecolor='none')
+ plt.close()
More information about the mlpack-svn
mailing list