commute-api

command module
v0.0.0-...-24a0202 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2015 License: MIT Imports: 15 Imported by: 0

README

commute-api

Gtfs API used by commute.sh webapp.

Build Status Coverage Status

Benchmark

Install Vegeta tool:

    brew install vegeta

Run benchmark:

    echo "GET http://localhost:4000/api/agencies/RATP/stops/2015-04-13/nearest?lat=48.875203299999995&lon=2.310958&distance=1000" | vegeta attack -duration=60s -rate=2 | tee results.bin | vegeta report
    vegeta report -inputs=results.bin -reporter=json > metrics.json
    cat results.bin | vegeta report -reporter=plot > plot.html
    cat results.bin | vegeta report -reporter="hist[0,100ms,200ms,300ms,400ms,500ms,600ms,700ms,800ms,900ms,1000ms]"
    open plot.html

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL