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

Evidence of multiple REST requests using same trace file #114

Open
bobbingwide opened this issue Oct 29, 2023 · 1 comment
Open

Evidence of multiple REST requests using same trace file #114

bobbingwide opened this issue Oct 29, 2023 · 1 comment
Assignees
Labels

Comments

@bobbingwide
Copy link
Owner

bobbingwide commented Oct 29, 2023

While testing a minor change to oik-magnetic-poetry's server side rendering I noticed that it was very slow.
The trace file for the request appeared to be recording duplicate events.
This was confirmed by looking at the daily trace summary and the trace file itself.

/oikcom/wp-json/wp/v2/block-renderer/oik-mp/magnetic-poetry?context=edit&attributes%5Bcontent%5D=Code%20is%20Poetry%20%0AAin%27t%20that%20true%3F%0ANo%20it%27s%20not%0AOh%20well%2C%20never%20mind%20eh%3F&attributes%5BtextAlign%5D=center&attributes%5BfontSize%5D=tiny&post_id=34249&_locale=user,,41.724920,8.1.23,1284,6720,1069,58,1464,61,42,21,26,0.012457609176636,C:/apache/htdocs/oikcom/bwtrace/bwtrace.rest.19,611,169,28786,127.0.0.1,41.724369,2023-10-29T11:18:00+00:00,Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML; like Gecko) Chrome/118.0.0.0 Safari/537.36,GET,200
/oikcom/wp-json/wp/v2/block/34249/autosaves?_locale=user,,44.519320,8.1.23,1284,6757,1075,58,1472,61,42,21,140,0.36205339431763,C:/apache/htdocs/oikcom/bwtrace/bwtrace.rest.19,629,169,31018,127.0.0.1,44.518990,2023-10-29T11:18:02+00:00,Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML; like Gecko) Chrome/118.0.0.0 Safari/537.36,POST,200
@bobbingwide bobbingwide self-assigned this Oct 29, 2023
@bobbingwide
Copy link
Owner Author

I noticed that it was very slow.

Actually it was diabolical, even when the same file wasn't being used by two requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant