h4cc / hhvm-progress

Source of the hhvm.h4cc.de website.
http://hhvm.h4cc.de/
MIT License
8 stars 4 forks source link

Add Graph showing Progress over time. #35

Open h4cc opened 10 years ago

h4cc commented 10 years ago

Linke a graph for number of versions and state, vor number oft packages and state.

Nyholm commented 10 years ago

This would be very interesting. Some data form the last couple of days:

Date: 2014-07-09
Green: 1654
Yellow: 1179
Red: 9261

Date: 2014-07-13
Green: 1729
Yellow: 1222
Red: 9302

Date: 2014-07-16
Green: 1754
Yellow: 1250
Red: 9309

I suggest creating a Snapshot entity that is updated once every day and then using ObHighcartsBundle to display a nice looking chart.

The Snapshot entity should have properties like: date, nbGreen, nbYellow, nbRed.

Just let me know if you want me to make a PR.

h4cc commented 10 years ago

@Nyholm Thanks for the suggestions, ObHighschartsBundle is looking fine and works too :)

I dont like the idea with a Snapshot entity, because there is too much old data to be collected. That will need some more effort, because the timestamps for each PackageVersion need to be collected first.

But after that, we will be abled to visualize HHVM Support from the very first package.

Nyholm commented 10 years ago

Sorry, I was not too familiar how the PackageVersion entity was used.

Sounds great!

h4cc commented 10 years ago

Mehhh, needing to recrawl about 120000 .travis.yml files, this will take some time with a hourly api limit of 5000 requests.

h4cc commented 10 years ago

The graph is working, but the crawler only has 50% of the releases updated.

http://hhvm.h4cc.de/statistics/

Keep in mind, the graph is showing the accumulated number of releases and not packages.

Nyholm commented 10 years ago

Nice!

It would be more interesting to see packages. But still, very nice!

h4cc commented 10 years ago

@Nyholm Yes, that would be great to have too.

The current graphs is showing more of a progress, while a graph showing the number of packages and states will be more like state.

Will try to build such a graph with number of packages, need a bright idea first.

h4cc commented 10 years ago

@Nyholm I added a graph for the number of packages, and the accumulated number of releases. For releases a collection command needs to finish first. will take some time.

Have a look: http://hhvm.h4cc.de/statistics/

Nyholm commented 10 years ago

I think it looks good. :+1: It gives you a good overview. You can se that half of the packages are tested or partially tested. It looks way more promising than the graph on the start page. :smiley:

screen shot 2014-09-22 at 09 59 36

h4cc commented 10 years ago

But i dont know if that numbers are correct, thats why i dont publicate it yet. I need to check the numbers against the official packagist ones: https://packagist.org/statistics

h4cc commented 9 years ago

After the whole "Run on HHVM" thing and remodeling the database, this features will need some love again :heart_eyes: