Traces of some routes show their time with nothing under it #350

Closed
opened 2026-10-23 05:44:06 -07:00 by rays · 1 comment
Owner

Flame graphs from a week of traces (query.py flame) show time no step accounts for: entries_in 46-82 ms a request, the page's query and its enclosures together; /api/art 37 ms; /api/status 95 ms; PATCH /api/feeds/{id} 72 ms and DELETE 45 ms. Each needs a step around what it waits on, so its trace says where the time goes.

Flame graphs from a week of traces (query.py flame) show time no step accounts for: entries_in 46-82 ms a request, the page's query and its enclosures together; /api/art 37 ms; /api/status 95 ms; PATCH /api/feeds/{id} 72 ms and DELETE 45 ms. Each needs a step around what it waits on, so its trace says where the time goes.
rays added the enhancement label 2026-10-23 05:44:06 -07:00
Author
Owner

Done in 511246a, deployed (1.4.1-dev). entries_in now has page and enclosures under it; /api/art art_cached, names_image, art_fetch and art_keep; /api/status counts and subscriptions; changing or leaving a feed each database call, cfg_lock and store_config. A first request after the restart: entries_in 291 ms = page 273 + enclosures 18; status 65 ms = counts 55 + subscriptions 9.

Done in 511246a, deployed (1.4.1-dev). entries_in now has page and enclosures under it; /api/art art_cached, names_image, art_fetch and art_keep; /api/status counts and subscriptions; changing or leaving a feed each database call, cfg_lock and store_config. A first request after the restart: entries_in 291 ms = page 273 + enclosures 18; status 65 ms = counts 55 + subscriptions 9.
rays closed this issue 2026-10-23 05:48:00 -07:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#350