Display performance metrics for API/MCP requests in View API page (#11764)
* MCP metrics
* add changeset
* Fix
* Add unit test
* lint
* Add code:
* Make async
* Remove log
* add changeset
* Fix
* Fix
* Lint
* format
* fix typing js
* restore demo
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>