Commits

Martin Geisler committed ac388c3

Use "-" instead of "_" for more readable filenames

Comments (0)

Files changed (1)

multimechanize/results.py

         t = (resp_stats.elapsed_time, resp_stats.trans_time)
         trans_timer_points.append(t)
         trans_timer_vals.append(resp_stats.trans_time)
-    graph.resp_graph_raw(trans_timer_points, 'All_Transactions_response_times', results_dir)
+    graph.resp_graph_raw(trans_timer_points, 'all-transactions-response-times', results_dir)
     
     report.write_line('<h3>Transaction Response Summary (secs)</h3>')
     report.write_line('<table>')
             percentile_90_resptime_points[interval_start] = pct_90
 
     report.write_line('</table>') 
-    graph.resp_graph(avg_resptime_points, percentile_80_resptime_points, percentile_90_resptime_points, 'All_Transactions_response_times_intervals', results_dir)
+    graph.resp_graph(avg_resptime_points, percentile_80_resptime_points, percentile_90_resptime_points, 'all-transactions-response-times-intervals', results_dir)
     
     
     report.write_line('<h3>Graphs</h3>')
     report.write_line('<h4>Response Time: %s sec time-series</h4>' % ts_interval)
-    report.write_line('<img src="All_Transactions_response_times_intervals.png"></img>')     
+    report.write_line('<img src="all-transactions-response-times-intervals.png"></img>')     
     report.write_line('<h4>Response Time: raw data (all points)</h4>')
-    report.write_line('<img src="All_Transactions_response_times.png"></img>') 
+    report.write_line('<img src="all-transactions-response-times.png"></img>') 
     
 
 
                 custom_timer_vals.append(val)
             except KeyError:
                 pass
-        graph.resp_graph_raw(custom_timer_points, sanitize(timer_name) + '_response_times', results_dir)
+        graph.resp_graph_raw(custom_timer_points, sanitize(timer_name) + '-response-times', results_dir)
         
         report.write_line('<hr />')
         report.write_line('<h2>Custom Timer: %s</h2>' % timer_name)
                 percentile_80_resptime_points[interval_start] = pct_80
                 percentile_90_resptime_points[interval_start] = pct_90
         report.write_line('</table>') 
-        graph.resp_graph(avg_resptime_points, percentile_80_resptime_points, percentile_90_resptime_points, sanitize(timer_name) + '_response_times_intervals', results_dir)
+        graph.resp_graph(avg_resptime_points, percentile_80_resptime_points, percentile_90_resptime_points, sanitize(timer_name) + '-response-times-intervals', results_dir)
     
         
         report.write_line('<h3>Graphs</h3>')
         report.write_line('<h4>Response Time: %s sec time-series</h4>' % ts_interval)
-        report.write_line('<img src="%s_response_times_intervals.png"></img>' % sanitize(timer_name))
+        report.write_line('<img src="%s-response-times-intervals.png"></img>' % sanitize(timer_name))
         report.write_line('<h4>Response Time: raw data (all points)</h4>')        
-        report.write_line('<img src="%s_response_times.png"></img>' % sanitize(timer_name))
+        report.write_line('<img src="%s-response-times.png"></img>' % sanitize(timer_name))