Skip to content

prattmic/icfp2015

Repository files navigation

Requirements

Go v1.4+

Build the binary

make

Run the binary

As an example we'll use a qualifier problem.

$ ./play_icfp2015 -f qualifiers/problem_4.json

Run the server

Start a server with some endpoints.

$ ./play_icfp2015 -serve

Profile the application

$ ./play_icfp2015 <whatever> -profile /tmp/out.pprof
$ go tool pprof -web ./play_icfp2015 /tmp/out.pprof

Graph AI's

$ go get github.com/awalterschulze/gographviz
$ make graph
$ ./play_icfp2015 ... -graph /tmp/icfp/graph