This commit is contained in:
garbervetsky 2017-07-11 21:29:46 -07:00
Родитель a5539d204c
Коммит ea4236dc3a
2 изменённых файлов: 14 добавлений и 17 удалений

Просмотреть файл

@ -10,24 +10,21 @@ totalFiles = 0
for f in onlyfiles:
with open(f) as file:
totalFiles+=1
while True:
line = file.readline()
if not line: break
if '\"id\": \"Summary\"' in line:
lines = file.readlines()[1:]
for line in lines:
if '\"id\"' in line:
if '\"id\": \"Summary\"' in line:
break
#print(file)
line = file.readline()
while line:
if '\"id\"' in line:
if '\"id\": \"Summary\"' not in line:
if '\"id\": \"SingleColumn\"' not in line:
if(line.find('ScopeFilterTransformer_')==-1 and line.find('ScopeTransformer_')==-1 \
and line.find('ScopeGrouper_')==-1 and line.find('ScopeProcessorCrossApplyExpressionWrapper')==-1 \
and line.find('ScopeReducer_')==-1 and line.find('ScopeRuntime.')==-1) \
and line.find('\"SingleColumn\"')==-1:
and line.find('ScopeGrouper_')==-1 and line.find('ScopeProcessorCrossApplyExpressionWrapper')==-1 \
and line.find('ScopeReducer_')==-1 and line.find('ScopeRuntime.')==-1) \
and line.find('\"SingleColumn\"')==-1 \
and line.find("|Process")!=-1:
totalBench+=1
print(line)
break
#else:
#print(line)
line = file.readline()

Просмотреть файл

@ -42,7 +42,7 @@ for f in onlyfiles:
and row[0].find('ScopeReducer_')==-1 and row[0].find('ScopeRuntime.')==-1):
#print(row[0])
totalBenchWithinfo+=1
print(row)
#print(row[0])
p = int(row[1])
t = int(row[2])
if(row[2]>=0 and row[3]>=0):