0.0.3 • Published 10 years ago

pac-bench v0.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

pac-bench

Install pac-bench: (sudo) npm install -g pac-bench

You can do something like this:

Input:

echo 'function FindProxyForURL(url, host) { return "PROXY proxy.example.com:8080; DIRECT"; }' | pac-bench

or

pac-bench -f ./some_pac_file.pac

Output:

total:  421.886029 ms
avg:  61.769550366032206 ns
times:  10

Input:

pac-bench --help

Output:

  Usage: pac-bench [options]

  Options:

    -h, --help         output usage information
    -V, --version      output the version number
    -t, --times <n>    Repeat Times
    -f, --file <path>  Specify the PAC File
    -v, --verbose      Debug Mode
0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago