@@ -197,9 +197,7 @@ def get_times(f, *args, iter_number=5):
197197
198198class TestResults :
199199 perf_results_xlsx = 'perf_results.xlsx'
200- perf_results_html = 'perf_results.html'
201200 raw_perf_results_xlsx = 'raw_perf_results.xlsx'
202- raw_perf_results_html = 'raw_perf_results.html'
203201 index = ['name' , 'N' , 'type' , 'size' ]
204202 test_results_data = pandas .DataFrame (index = index )
205203 logger = setup_logging ()
@@ -272,7 +270,7 @@ def print(self):
272270
273271 def dump (self ):
274272 """
275- Dump performance testing results from global data storage to excel and html
273+ Dump performance testing results from global data storage to excel
276274 """
277275 # openpyxl need to be installed
278276
@@ -283,28 +281,13 @@ def dump(self):
283281 msg = 'Could not dump the results to "%s": %s'
284282 self .logger .warning (msg , self .perf_results_xlsx , e )
285283
286- try :
287- with open (self .perf_results_html , 'w' ) as the_file :
288- the_file .write (self .grouped_data .to_html (na_rep = '' ))
289- except IOError as e :
290- msg = 'Could not dump raw results to "%s": %s'
291- self .logger .warning (msg , self .perf_results_html , e )
292-
293284 try :
294285 with pandas .ExcelWriter (self .raw_perf_results_xlsx ) as writer :
295286 self .test_results_data .to_excel (writer , index = False )
296287 except ModuleNotFoundError as e :
297288 msg = 'Could not dump raw results to "%s": %s'
298289 self .logger .warning (msg , self .raw_perf_results_xlsx , e )
299290
300- try :
301- with open (self .raw_perf_results_html , 'w' ) as the_file :
302- the_file .write (self .test_results_data .to_html (index = False , na_rep = '' ))
303- except IOError as e :
304- msg = 'Could not dump raw results to "%s": %s'
305- self .logger .warning (msg , self .raw_perf_results_html , e )
306-
307-
308291 def load (self ):
309292 """
310293 Load existing performance testing results from excel to global data storage
0 commit comments