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

星多的大项目,太慢了 #8

Open
taojy123 opened this issue Jan 11, 2020 · 1 comment
Open

星多的大项目,太慢了 #8

taojy123 opened this issue Jan 11, 2020 · 1 comment

Comments

@taojy123
Copy link

比如展示 vuejs/vue ,每个 GraphQL 请求只能加载 100 个 star,等全部加载完太漫长了。
请教一下,这个是否有更好的解决方案?

@SevenOutman
Copy link
Owner

@taojy123 感谢你提出的意见。目前 Hubble 展示的图表上具有每日的星星数量,所以需要查询每一颗星星,也就比较慢。一种取舍是降低采样率,就可以减少请求的次数,缩短时间,不过图线的精确度就会相应地降低。我想可以将准确度作为选项交给用户选择。

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

No branches or pull requests

2 participants