Skip to content

Instantly share code, notes, and snippets.

@gokhanakgul
Created January 13, 2014 10:16
Show Gist options
  • Save gokhanakgul/8397712 to your computer and use it in GitHub Desktop.
Save gokhanakgul/8397712 to your computer and use it in GitHub Desktop.
Grails Rest performance calculation on shell
curl -X POST -d @file server:port -w %{time_connect}:%{time_starttransfer}:%{time_total}
curl -i -w %{time_connect}:%{time_starttransfer}:%{time_total} -H "Accept: application/json" localhost:8080/cms/api/menus
curl -s -w "%{time_total}\n" -H "Accept: application/json" localhost:8080/cms/api/menus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment