Skip to content

feat: use html parsing for github stars badge#644

Draft
amio wants to merge 1 commit intomainfrom
github-html-parser
Draft

feat: use html parsing for github stars badge#644
amio wants to merge 1 commit intomainfrom
github-html-parser

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