Commit 9562304c authored by Kirill Smelkov's avatar Kirill Smelkov

X zlib: no need to benchmark on wczdata-{avg,max}

They are the same in size.
parent 6b9ed46d
......@@ -83,10 +83,14 @@ def writeobjects(prefix, objv):
hi = i
objavg = objv[lo]
#print '[%d,%d] -> avgi=%d, avglen=%d maxlen=%d' % (0, len(objv), lo, len(objavg), len(objv[-1]))
writefile('%s-avg' % prefix, zcompress(objavg))
writefile('%s-max' % prefix, zcompress(objv[-1]))
objmax = objv[-1]
#print '[%d,%d] -> avgi=%d, avglen=%d maxlen=%d' % (0, len(objv), lo, len(objavg), len(objmax))
if len(objavg) == len(objmax): # it is so for wczdata
writefile('%s' % prefix, zcompress(objavg))
else:
writefile('%s-avg' % prefix, zcompress(objavg))
writefile('%s-max' % prefix, zcompress(objv[-1]))
# iter_zobjects iterates throuh all non-nil object data from fs1@path.
#
......
......@@ -898,7 +898,7 @@ bench_cpu() {
nrun tcpu_go sha1 $size
done
datav="null-1K null-4K null-2M wczdata-avg wczdata-max prod1-avg prod1-max"
datav="null-1K null-4K null-2M wczdata prod1-avg prod1-max"
for data in $datav; do
nrun tcpu.py unzlib $data
nrun tcpu_go unzlib $data
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment