dtolnay/star-history

Downsample graphs that have too many stars

Open

#6 opened on May 14, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (12 forks)github user discovery
help wanted

Repository metrics

Stars
 (201 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

For example in https://gistpreview.github.io/?9b4088406b4c2bb82beb6ec1b388c7ac there are so many stars that I ran sed '/:[0-9]*[^0]\},$/d' to strip out all but every 10th one, cutting the file down to 1/10th the size and improving ui responsiveness.

This should be done automatically to limit the number of data points per repo, or perhaps there should be some flag to control the downsampling.

Contributor guide