https://github.com/sgibb/benchgit
Benchmarking R functions in different git branches
https://github.com/sgibb/benchgit
Last synced: about 1 month ago
JSON representation
Benchmarking R functions in different git branches
- Host: GitHub
- URL: https://github.com/sgibb/benchgit
- Owner: sgibb
- Created: 2014-02-25T14:55:19.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-11-17T21:44:43.000Z (over 8 years ago)
- Last Synced: 2025-02-14T12:40:51.389Z (3 months ago)
- Language: R
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# benchgit
## Description
This package allows to compare the running time of R functions in different git branches.
## Install
```s
install.packages("devtools")
library("devtools")
install_github("benchgit", "sgibb")
```## Example
```s
library("benchgit")x <- runif(100)
benchgit(my_fun(x), packagePath="~/mypackage",
branches=c("master", "foo", "bar"), replications=2)# elapsed avg relative
# master 1.722 0.8610 1.00
# bar 6.021 3.0105 3.50
# foo 26.477 13.2385 15.38
```## Contact
You are welcome to:
* submit suggestions and bug-reports at:
* send a pull request on:
* compose an e-mail to: