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

Change timing name from 'query' to 'transaction' and add ApiRequest timing #3068

Merged
merged 2 commits into from
Nov 24, 2023

Conversation

laurenceisla
Copy link
Member

Closes #3055.

@laurenceisla laurenceisla marked this pull request as ready for review November 24, 2023 18:13
@steve-chavez
Copy link
Member

steve-chavez commented Nov 24, 2023

Interesting. Looks like the parse time is considerable, even higher than the plan for some cases:

curl 'localhost:3000/entities?select=*,child_entities(*,grandchild_entities(*))' -I
HTTP/1.1 200 OK

Server-Timing: jwt;dur=14.9, parse;dur=226.5, render;dur=4.6, plan;dur=141.1, transaction;dur=538.0

Possible solution: #2816

@steve-chavez steve-chavez merged commit b538ab9 into PostgREST:main Nov 24, 2023
30 of 31 checks passed
@laurenceisla laurenceisla deleted the timing-rename branch November 24, 2023 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Split Server-Timing query duration
2 participants