Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server-Timing #16

Open
Simbiat opened this issue Jul 28, 2024 · 0 comments
Open

Server-Timing #16

Simbiat opened this issue Jul 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Simbiat
Copy link
Owner

Simbiat commented Jul 28, 2024

function for server-timing (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server-Timing https://www.smashingmagazine.com/2018/10/performance-server-timing/)

Probably needs to be a separate class and also be called from zEcho. Need support for:
memory usage (by current process), cpu usage (by current process), I/O, disk usage (by current process), script execution time, number of sql queries (from Database class, that may need an update), system uptime, number of functions/files called (?), support for custom entries.

Use hrtime() for time calculations? Add it to zEcho if a global variable for start time was set?

Need to also handle Timing-Allow-Origin to allow only specific origins (or * if empty)."

@Simbiat Simbiat added the enhancement New feature or request label Jul 28, 2024
@Simbiat Simbiat moved this from New to Planned in simbiat.dev Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Planned
Development

No branches or pull requests

1 participant