diff options
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/generate_json.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/benchmarks/generate_json.py b/benchmarks/generate_json.py index d36af49..d0c3de0 100644 --- a/benchmarks/generate_json.py +++ b/benchmarks/generate_json.py @@ -1,10 +1,15 @@ """Generate a JSON file for json decode benchmarking purposes using freqdata.py. Works with pypy and python. +Initial setup:: + + $ git clone -b pypy-support git://github.com/simplejson/simplejson.git; \ + cd simplejson + To generate:: $ mkdir -p build/bench; \ - python benchmarks/generate_json.py > build/bench/feed.json + PYTHONPATH=. python benchmarks/generate_json.py > build/bench/feed.json To run the read benchmark:: |