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

rankings: fetch profiles faster and improvements #234

Merged

Conversation

NeKzor
Copy link
Contributor

@NeKzor NeKzor commented Nov 16, 2024

  • perf: batch 100 profiles at once since the Steam API allows that much
  • feat: --now/-n CLI flag to run once and exit
  • feat: --cache/-c CLI flag to cache leaderboards. Only works with --now
  • fix: automatically create output folder
  • fix: more logging so we know what is happening
  • refactor: removed double references where it did not make sense

Running ./rankings -n -c after initial run without caching takes less than 10 seconds so that should be more convenient in testing.

* perf: batch 100 profiles at once since the Steam API allows that much
* feat: --now/-n CLI flag to run once and exit
* feat: --cache/-c CLI flag to cache leaderboards. Only works with --now
* fix: automatically create output folder
* fix: more logging so we know what is happening
* refactor: removed double references where it did not make sense
@pektezol pektezol self-requested a review November 16, 2024 07:13
@pektezol
Copy link
Owner

Looks good to me. Thank you for your improvements!

@pektezol pektezol merged commit 5fb47b6 into pektezol:main Nov 16, 2024
@NeKzor NeKzor deleted the rankings/fetch-profiles-faster-and-improvements branch November 16, 2024 15:54
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.

2 participants