Timing statistics for REST API calls


The X-Timing-Info response header for requests to the REST API contains timing info for the request:

"X-Timing-Info": "total=0.141592,cpu=0.082991,io=0.051881"

Each representing time in seconds:

  • total — the total time to execute the action
  • cpu — the time spent in the CPU (executing code)
  • io — the time spent waiting on data from external sources (e.g. the database).