Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/statsPublic

Scripts for generating project statistics and for plotting them as graphs.

License

NotificationsYou must be signed in to change notification settings

curl/stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository holds a collection of scripts for generating projectstatistics and data.

Stats generated by these scripts have been, are and will be used in curlrelated blog posts and presentations and by providing the scripts in a publicrepository everyone can reproduce the results and can verify the correctnessof them.

This allows everyone to help out to improve the scripts and to provide newones that generate even more, better and more interesting project stats.

Run the scripts

Check out the main curl git repository

git clone https://github.com/curl/curl.git

Check out this repository as a subdirectory

cd curlgit clone https://github.com/curl/stats.git

Get data

The scripts are (primarily) written in perl and are intended to be run fromthe curl source code root.

Example:

perl stats/script.pl > tmp/script.csv

Render graph

The rendering of the graph is separate from the data gathering part. Wegnuplot script is named the same as the perl script and uses the CSV file asinput to generate a SVG output:

gnuplot -c stats/script.plot > tmp/script.svg

The curl dashboard

The entire collection of scripts is run by themksvg.sh script once per dayin the curl webserver to generate thecurldashboard.

Output

The scripts are written to output CSV data, usually having data and/or curlrelease versions included in each line.

Scripts

All perl scripts use the extension.pl and they generate CSV files withdata. Several of them are written with a "cache", so that repeated invokesonly scans for the part that is not cached. To run faster and avoid repeatingdoing the same things every day.

The gnuplot scripts use the extension.plot and they generate SVG output.

git details

Lots of git operations work with the assumption that we can list all tags(which correspond to releases) and sort them, and then act on the gitrepository at the times when those tags were set.

Lots of git operations also scan specific directory paths of the source codetree, likesrc/ andlib/ since we know the layout we know the meaning ofthat.

License

All scripts in this repository are provided under theMIT.


[8]ページ先頭

©2009-2025 Movatter.jp