Skip to content

Conversation

@Xendergo
Copy link
Collaborator

@Xendergo Xendergo commented Nov 1, 2025

Closes #50

MVP

  • Rewrite my old statistics tracking code to only store data for the current day in memory; replacing the data whenever a new day is observed using atomic trickery (ce14147)
  • Output the statistics data into a writer in CSV format (9262c9e)
  • Research compression formats that supports being appended to and use one of them to write to a statistics file on disk

Important but maybe a future PR

  • Allow people to download the data from the website
  • Send a "weekly update" in the webring channel with statistics aggregated over the week

@Xendergo Xendergo requested a review from kdkasad November 1, 2025 22:36
@codecov
Copy link

codecov bot commented Nov 1, 2025

Codecov Report

❌ Patch coverage is 86.11111% with 20 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.60%. Comparing base (4764f76) to head (876fb25).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/stats/mod.rs 86.33% 18 Missing and 1 partial ⚠️
src/webring.rs 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #75      +/-   ##
==========================================
- Coverage   86.98%   86.60%   -0.38%     
==========================================
  Files           8        8              
  Lines        2804     2889      +85     
  Branches     2804     2889      +85     
==========================================
+ Hits         2439     2502      +63     
- Misses        267      288      +21     
- Partials       98       99       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link

github-actions bot commented Nov 1, 2025

Test Results

46 tests   46 ✅  2s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 876fb25.

♻️ This comment has been updated with latest results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Finish implementation of statistics

2 participants