FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add prepare/bind/execute/fetch time metrics to QueryExecuted by xuanyanwow · Pull Request #7730 · hyperf/hyperf · GitHub

/ hyperf Public

Add prepare/bind/execute/fetch time metrics to QueryExecuted - #7730

Draft
xuanyanwow wants to merge 5 commits into
hyperf:masterfrom
xuanyanwow:database-run-time
Draft

Add prepare/bind/execute/fetch time metrics to QueryExecuted#7730
xuanyanwow wants to merge 5 commits into
hyperf:masterfrom
xuanyanwow:database-run-time

Conversation

Copy link
Copy Markdown
Member

No description provided.

xuanyanwow and others added 4 commits August 28, 2025 14:35
Measure and record granular timing for database queries by tracking prepare, bind, execute and fetch durations. Connection methods now capture microtime measurements and return an array with keys prepare_time, bind_time, execute_time, fetch_time and result. logQuery signature and calls updated to accept and forward these timings, and the QueryExecuted event now includes prepareTime, bindTime, executeTime and fetchTime properties. This enables more detailed query performance logging and reporting.
xuanyanwow marked this pull request as draft April 1, 2026 02:08

Copy link
Copy Markdown
Member Author

可达到观测不同阶段的耗时瓶颈 如datagrip日志

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL