File tree Expand file tree Collapse file tree 3 files changed +20
-3
lines changed
Expand file tree Collapse file tree 3 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 1- "Benchmark diskcache.Core."
1+ """Benchmark diskcache.Cache
2+
3+ $ export PYTHONPATH=/Users/grantj/repos/python-diskcache
4+ $ python tests/benchmark_core.py -p 1 > tests/timings_core_p1.txt
5+ $ python tests/benchmark_core.py -p 8 > tests/timings_core_p8.txt
6+
7+ """
28
39from __future__ import print_function
410
Original file line number Diff line number Diff line change 1- "Benchmark diskcache.DjangoCache"
1+ """Benchmark diskcache.DjangoCache
2+
3+ $ export PYTHONPATH=/Users/grantj/repos/python-diskcache
4+ $ python tests/benchmark_djangocache.py > tests/timings_djangocache.txt
5+
6+
7+ """
28
39from __future__ import print_function
410
Original file line number Diff line number Diff line change 1- "Plot benchmark docs."
1+ """Plot Benchmarks for docs
2+
3+ $ export PYTHONPATH=/Users/grantj/repos/python-diskcache
4+ $ python tests/plot.py --show tests/timings_core_p1.txt
5+
6+ """
27
38import argparse
49import collections as co
You can’t perform that action at this time.
0 commit comments