To profile SQL by parsing the logs
./runner test/time_now_twice.log test
This will create test.csv and test.json and exit.
./runner <path_to_rails>/log/development.log dev 1
This will create a dev.csv and dev.json and continue to read development.log every 1 second for new data
Run as server
gem install sanatra ./server <path_to_rails>/log/development.log
Go to 127.0.0.1:4567