💡 Feature request: Show performance stats
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- docker, rust
- Domain
- backend, observability
Research direction
Start by reading the request and identifying Redlib’s request handling and data-fetching entry points, then trace the stages from receiving a request through returning the rendered response. The issue asks for average timings across several time windows but leaves the measurements and performance view design open; done means users can inspect useful breakdowns to help identify slowdowns.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
Redlibs runs in Docker on my NAS. The typical response times range from 400 to 1500 (!) ms. I could be the weak CPU, it could be a bottle-necked connection, maybe a cache is too small or there's not enough free memory. I don't know why it's so slow because there's nothing that tells me the reason.
Describe the feature you would like to be implemented
To identify bottlenecks I would like to have some sort of performance view that breaks down what Redlib does and how long that took on average during the last 5m/15m/1h/1d. It could list Something like decoding request, contacting Reddit servers, downloading data from Reddit, format view from received data, provide user with processed data, etc. What-ever makes sense in regarding software architecture and helps debugging slowdowns. You know better than me what would be useful to show..
Additional context / screenshot
Ping times in the Firefox Extension LibRedirect (https://libredirect.manerakai.com/)
Redlib boasts that it is one of the or the fastest Reddit frontends. But honestly, 400+ ms response times are kinda slow.
- Dominant language
- Rust
- Stars
- 3.9k
- Forks
- 293
- Avg merge
- 14d 8h
- Merged PRs (30d)
- 2
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from redlib-org/redlib
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
redlib-org/redlib#604 ·
Maintainers usually reply within 3 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
redlib-org/redlib#571 · 1 comment ·
Maintainers usually reply within 3 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 61/100
redlib-org/redlib#557 ·
Maintainers usually reply within 3 days
-
🐛 Bug Report: Failed to parse page JSON data: expected value at line 1 column 1 | /r/LivestreamFail/comments/1xd628q/hila_klein_says_ethan_klein_has_been_having_an/.json?Possibly taken A pull request linked to this issue is open or already merged. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 38/100
redlib-org/redlib#602 · 1 comment ·
Maintainers usually reply within 3 days
-
bug
Difficulty 4/5 1-2 days Newbie friendliness 52/100
redlib-org/redlib#600 · 7 comments · 7 reactions ·
Maintainers usually reply within 3 days
All issues in redlib-org/redlib
Similar issues
-
area:io kernel-paused needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bherbruck/solvecraft#7854 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
transit-audio/transit#159 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
HakanSeven12/OpenCADStudio#2257 · 1 comment ·
Maintainers usually reply within 1 day
-
priority: low ui
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
storytold/photocraft#9884 · 1 comment ·
Maintainers usually reply within 1 day
-
triage: new type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Jagalite/superseedr#376 ·
Maintainers usually reply within 1 day