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

feat: use html parsing for github stars badge #644

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

amio
Copy link
Member

@amio amio commented Aug 12, 2023

To avoid the api rate limit.

By tests, this new approach is doubled in response time.

html parsing
________________________________________________________
Executed in    2.30 secs      fish           external
   usr time   20.12 millis    0.15 millis   19.98 millis
   sys time   14.54 millis    1.73 millis   12.82 millis
api requesting
________________________________________________________
Executed in    1.29 secs      fish           external
   usr time   19.28 millis    0.17 millis   19.11 millis
   sys time   13.16 millis    1.96 millis   11.20 millis

@vercel
Copy link

vercel bot commented Aug 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
badgen.net ✅ Ready (Inspect) Visit Preview Aug 12, 2023 1:51am

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.

1 participant