This is a repository of extracted metrics data using caliper. Both the library and data repository are under development.
To update automatically, we use the caliper update functionality to do updates, which reads from caliper.yaml to get the listing of libraries:
$ caliper updatewhich you can also use to just check
$ caliper update --checkOr even more specifically, for one library or metric:
caliper update --metric functiondb pypi:sifAnd of course if you add a new module or metric, you can simply add it to the caliper.yaml here to ensure that updates occur regularly.
If you want to add an entirely new module, you might want to extract the metrics that you want first! Example manual extractions looks like this:
$ caliper extract pypi:sif --metric functiondbor for a larger project (that we need zip for)
$ caliper extract --metric functiondb --fmt zip pypi:tensorflowto generate output in the present working directory under pypi or another
package manager, respectfully. Each metric output file is organized by a complete
version (e.g., 0.0.11) in the case of a MetricBase, or a range (e.g., 0.0.1..0.0.11)
in the case of a ChangeMetric. The data under that depends on the metric. For example,
changedfiles might have a lookup for different kinds of changes, while functiondb might
be a lookup of functions and arguments organized by module.