Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore ListLoad ListLoad NameLoad Str ListLoad NameLoad Str ListLoad NameLoad Str ListLoad NameLoad Str ListLoad NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore TupleLoad Num Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Str Str Str Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Return ListComp Call NameLoad Call AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return ListLoad Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body Expr Call NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore ListLoad NameLoad Str Str Return Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str keyword AttributeLoad NameLoad attr Return Call NameLoad ListLoad Str Str Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore ListLoad For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults TupleLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListComp BinOpMult Str NameLoad comprehension NameStore NameLoad Assign NameStore NameLoad For NameStore NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse If CompareNotEq NameLoad AttributeLoad NameLoad attr body Expr Yield NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr GeneratorExp Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr SubscriptLoad NameLoad Index NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad Return BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults Str body Assign NameStore Call AttributeLoad Str attr ListComp BinOpMult NameLoad NameLoad comprehension NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Call NameLoad Str Assign NameStore Call NameLoad Call NameLoad With Call NameLoad NameLoad Str NameStore body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Call NameLoad Expr Call NameLoad Str Expr Call NameLoad Call NameLoad Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad BinOpMod Str NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
Updates the doc/benchtable.rst file.
Must be run from project folder.
Set up to work on Rob's machine.
Configre PYPY and SLP constants for your computer to run locally.

Can generalize it if needed,
or if we figure out a better way to handle benchmarks.
 __future__ print_function N/A collections N/A subprocess N/A sys N/A os N/A PYPY N/A N/A N/A os path expanduser ~/venvs/gopypy/bin/python N/A SLP N/A N/A N/A os path expanduser ~/dev/venvs/go27slp/bin/python N/A PY3 N/A N/A N/A os path expanduser ~/dev/venvs/go33/bin/python N/A EXE_BACKEND_MATRIX N/A N/A PYPY stackless N/A PYPY gevent N/A SLP stackless N/A SLP gevent N/A PY3 gevent N/A RST N/A N/A N/A os path join doc benchtable.rst N/A COLUMN_WIDTHS N/A 9 9 16 7 N/A BenchmarkResult N/A N/A collections namedtuple BenchResult N/A platform backend benchmark time stdout_to_results N/A N/A s N/A N/A N/A Turns the multi-line output of a benchmark process into
    a sequence of BenchmarkResult instances. N/A results N/A N/A N/A N/A s strip split N/A N/A N/A BenchmarkResult N/A N/A r split N/A r results N/A get_benchproc_results N/A N/A clargs N/A kwargs N/A N/A p N/A N/A subprocess Popen clargs stdout N/A subprocess PIPE stderr N/A subprocess PIPE kwargs N/A N/A stdout stderr N/A N/A p communicate N/A N/A N/A p returncode 0 N/A N/A N/A N/A N/A sys stderr write N/A Failed to benchmark: %s
 N/A N/A join clargs N/A N/A N/A N/A sys stderr write stderr N/A N/A N/A results N/A stdout_to_results stdout N/A br results N/A N/A N/A print N/A justify_benchresult br N/A results N/A benchmark_process_and_backend N/A N/A exe backend N/A N/A N/A Returns BenchmarkResults for a given executable and backend. N/A env N/A dict N/A os environ N/A N/A env N/A GOLESS_BACKEND backend N/A args N/A exe -m benchmark N/A N/A get_benchproc_results args env env N/A benchmark_go N/A N/A N/A N/A N/A Writes the go benchmarks, if go is installed. N/A N/A N/A subprocess check_call N/A go version stdout N/A subprocess PIPE N/A N/A get_benchproc_results N/A go run benchmark.go N/A collect_results N/A N/A N/A N/A N/A Runs all platforms/backends/benchmarks and returns as list of
    BenchmarkResults, sorted by benchmark and time taken.
     N/A results N/A N/A N/A exe backendname EXE_BACKEND_MATRIX N/A N/A N/A N/A results extend N/A benchmark_process_and_backend exe backendname N/A N/A N/A results extend N/A benchmark_go N/A N/A N/A results sort key N/A N/A N/A br N/A N/A N/A br benchmark N/A float N/A br time N/A br platform N/A br backend N/A results N/A insert_seperator_results N/A N/A results N/A N/A N/A Given a sequence of BenchmarkResults,
    return a new sequence where a "seperator" BenchmarkResult has been placed
    between differing benchmarks to provide a visual difference. N/A sepbench N/A BenchmarkResult N/A N/A w N/A w COLUMN_WIDTHS N/A last_bm None N/A r results N/A N/A N/A last_bm None N/A N/A last_bm N/A r benchmark N/A N/A N/A last_bm N/A r benchmark N/A N/A N/A sepbench N/A last_bm N/A r benchmark N/A N/A r N/A justify_benchresult N/A N/A br N/A N/A N/A middle N/A N/A | join N/A N/A N/A N/A br N/A i ljust N/A COLUMN_WIDTHS N/A i N/A i N/A range N/A len br N/A N/A |%s| middle N/A make_sepline N/A N/A char N/A - N/A N/A seperator_line N/A N/A     +{}+{}+{}+{}+ format N/A N/A char w N/A w COLUMN_WIDTHS N/A seperator_line N/A main N/A N/A N/A N/A N/A N/A print Running benchmarks. N/A results N/A insert_seperator_results N/A collect_results N/A N/A open RST w f N/A w N/A N/A s N/A N/A N/A N/A N/A f write s N/A N/A N/A f write N/A N/A N/A f flush N/A N/A N/A w .. table:: Current goless Benchmarks N/A N/A w N/A N/A w N/A make_sepline N/A N/A w     |Platform |Backend  |Benchmark     |Time   | N/A N/A w N/A make_sepline = N/A br results N/A N/A N/A N/A f write N/A N/A N/A f write N/A justify_benchresult br N/A N/A N/A f write N/A N/A N/A f write N/A make_sepline N/A N/A N/A f write N/A N/A print N/A Benchmarks finished. Report written to %s RST N/A N/A N/A __name__ __main__ N/A N/A N/A main