bench_graph_svg: more sorting to get deterministic results
TBR=benchen Review URL: https://codereview.appspot.com/7333045 git-svn-id: http://skia.googlecode.com/svn/trunk@7745 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
2459a394b8
commit
e9b31faf30
@ -106,7 +106,9 @@ def parse_dir(directory, default_settings, oldest_revision, newest_revision,
|
||||
|
||||
(str, {str, str}, Number, Number) -> {int:[BenchDataPoints]}"""
|
||||
revision_data_points = {} # {revision : [BenchDataPoints]}
|
||||
for bench_file in os.listdir(directory):
|
||||
file_list = os.listdir(directory)
|
||||
file_list.sort()
|
||||
for bench_file in file_list:
|
||||
file_name_match = re.match('bench_r(\d+)_(\S+)', bench_file)
|
||||
if (file_name_match is None):
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user