dtolnay/star-history

Downsample graphs that have too many stars

Aperta

#6 aperta il 14 mag 2020

 (0 commenti) (0 reazioni) (0 assegnatari)Rust (12 fork)github user discovery
help wanted

Metriche repository

Star
 (201 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor