SCons / bench /

Filename Size Date modified Message
..
1.3 KB
3.9 KB
1.8 KB
13.0 KB
6.6 KB
1.8 KB
10.2 KB
# __COPYRIGHT__

This subdirectory contains a harness and various timing tests that we've
used to decide on the most efficient implementation of various pieces
of the code base.  We're checking these in here so that they're always
available in case we have to revisit these decisions.

NOTE:  This harness is for horse-racing specific snippets of Python
code to select the best implementation to use within a given function
or subsystem.  It's not intended for end-to-end testing of SCons itself.

Contents of the directory:

    README.txt

        What you're reading right now.

    bench.py

        The harness for running the timing tests that make up
        the rest of the directory's contents.  Use it to run
        one of the timing tests as follows:

                python bench.py FILE

        Various command-line options control the number of runs, the
        number of iterations on each run, etc.  Help for the command-line
        options is available:

                python bench.py -h

    is_types.py
    lvars-gvars.py
    [etc.]

        The rest of the files in this directory should each contain a
        specific timing test, consisting of various functions to be run
        against each other, and test data to be passed to the functions.

        Yes, this list of files will get out of date.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.