There is a new top-level element called 'times' which is an array of two decimal values. The first decimal value is the duration, in seconds, of the processing the website front-end does prior to passing the query to the database back-end. The second is the duration of the database operation in the database backend.
A sample excerpt for JSON:
"status": [ "complete", "OK" ], "times": [ "0.036002", "0.000000" ]
There is a third major element in the on-site processing of the query, and that is the time spent serializing the results into JSON or XML. This time is not included in the time record, as the time array has to be populated prior to serializing.
As always, comments are welcome.
No comments:
Post a Comment