From: zooko Date: Wed, 14 Nov 2007 16:39:09 +0000 (+0530) Subject: zfec: bench: turn down data sizes since my Windows laptop can't handle 32 MiB python... X-Git-Url: https://git.rkrishnan.org/Site/Content/Exhibitors/class-simplejson.JSONEncoder-index.html?a=commitdiff_plain;h=cc5427809b2b0222454f2704a189a75e506159fe;p=tahoe-lafs%2Fzfec.git zfec: bench: turn down data sizes since my Windows laptop can't handle 32 MiB python strings darcs-hash:ea41efbcfedfd566b294dc050349b81721725c8e --- diff --git a/zfec/bench/bench_zfec.py b/zfec/bench/bench_zfec.py index 88173fd..9ddec17 100644 --- a/zfec/bench/bench_zfec.py +++ b/zfec/bench/bench_zfec.py @@ -76,7 +76,6 @@ def bench(): # for f in [_encode_data_not_really, _encode_data_easyfec, _encode_data_fec,]: for f in [_encode_data_fec,]: print f - # benchutil.bench(f, initfunc=_make_new_rand_data, TOPXP=8, MAXREPS=256, MAXTIME=64) - benchutil.bench(f, initfunc=_make_new_rand_data, TOPXP=25, MAXREPS=256, MAXTIME=64) + benchutil.bench(f, initfunc=_make_new_rand_data, TOPXP=24, MAXREPS=256, MAXTIME=64) bench()