mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 10:43:24 +00:00
Bug 399868 - Rename standalone talos output file to .csv a=anodelman r=bhearsum
This commit is contained in:
parent
34febafca0
commit
8bea63e98a
@ -89,7 +89,7 @@ def send_to_csv(csv_file, results):
|
||||
import csv
|
||||
for res in results:
|
||||
browser_dump, counter_dump = results[res]
|
||||
writer = csv.writer(open(csv_file + '_' + res, "wb"))
|
||||
writer = csv.writer(open(csv_file + '_' + res + '.csv', "wb"))
|
||||
if res in ('ts', 'twinopen'):
|
||||
i = 0
|
||||
writer.writerow(['i', 'val'])
|
||||
@ -118,7 +118,7 @@ def send_to_csv(csv_file, results):
|
||||
i += 1
|
||||
for cd in counter_dump:
|
||||
for count_type in cd:
|
||||
writer = csv.writer(open(csv_file + '_' + res + '_' + count_type, "wb"))
|
||||
writer = csv.writer(open(csv_file + '_' + res + '_' + count_type + '.csv', "wb"))
|
||||
writer.writerow(['i', 'value'])
|
||||
i = 0
|
||||
for val in cd[count_type]:
|
||||
|
Loading…
Reference in New Issue
Block a user