From 04fabe3a6984fe5cd7610893638b0a45f728066e Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Fri, 10 Sep 2010 21:14:42 -0700 Subject: [PATCH] misc: add docstring to bench_spans.py telling how to run it ref #1182 --- misc/simulators/bench_spans.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/misc/simulators/bench_spans.py b/misc/simulators/bench_spans.py index 1855673f..e1e6e7eb 100644 --- a/misc/simulators/bench_spans.py +++ b/misc/simulators/bench_spans.py @@ -1,3 +1,13 @@ +""" +To use this, get a trace file such as this one: + +wget http://tahoe-lafs.org/trac/tahoe-lafs/raw-attachment/ticket/1170/run-112-above28-flog-dump-sh8-on-nsziz.txt + +And run this command passing that trace file's name: + +python bench_spans.py run-112-above28-flog-dump-sh8-on-nsziz.txt +""" + from pyutil import benchutil from allmydata.util.spans import DataSpans -- 2.45.2