summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2011-03-14 16:13:48 -0400
committerBob Ippolito <bob@redivi.com>2011-03-14 16:13:48 -0400
commited4a70089044afd03e6e847efd356a72135d2646 (patch)
treeda880b88d3f28c4173854d97dc2ea88d7efd3718
parentb83d98a35de3ce18a6aa8a08b3e3b1a38b07e21d (diff)
downloadsimplejson-ed4a70089044afd03e6e847efd356a72135d2646.tar.gz
change docs
-rw-r--r--benchmarks/generate_json.py7
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::