Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.9%) to scientific vocabulary
Keywords from Contributors
reproducibility
latex
rmarkdown
tidy-data
standardization
report
Last synced: 10 months ago
·
JSON representation
Repository
Read, Manipulate, and Write Profiler Data
Basic Info
- Host: GitHub
- Owner: r-prof
- License: other
- Language: R
- Default Branch: main
- Homepage: https://r-prof.github.io/profile/
- Size: 538 KB
Statistics
- Stars: 12
- Watchers: 1
- Forks: 2
- Open Issues: 5
- Releases: 3
Created over 8 years ago
· Last pushed 10 months ago
Metadata Files
Readme
Changelog
License
Code of conduct
README.Rmd
---
output: downlit::readme_document
---
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
pkgload::load_all()
```
# profile
[](https://github.com/r-prof/profile/actions)
[](https://app.codecov.io/gh/r-prof/profile?branch=main)
[](https://cran.r-project.org/package=profile)
The goal of profile is to read and write files that contain run time profiling data. Currently, *profile* supports:
- Files created by [`Rprof()`](https://www.rdocumentation.org/packages/utils/versions/3.4.3/topics/Rprof)
- `.proto` files written by [`pprof -proto`](https://github.com/google/pprof), these can also be read by `pprof`
The data is available to the user for inspection and manipulation in a [documented stable data format](https://r-prof.github.io/profile/reference/validate_profile.html).
## Installation
You can install profile from GitHub with:
```{r gh-installation, eval = FALSE}
# install.packages("remotes")
remotes::install_github("r-prof/profile")
```
## Example
This simple example converts an `.out` file generated by `Rprof()` to the `.proto` format understood by `pprof`.
```{r example}
rprof_path <- tempfile("profile", fileext = ".out")
Rprof(rprof_path, line.profiling = TRUE)
x <- runif(1e6)
res <- vapply(x, function(x) if (x < 0.5) sqrt(x) else x * x, numeric(1))
Rprof(NULL)
library(profile)
ds <- read_rprof(rprof_path)
ds
names(ds)
write_pprof(ds, file.path(tempdir(), "1.pb.gz"))
```
---
## Code of Conduct
Please note that the profile project is released with a [Contributor Code of Conduct](https://r-prof.github.io/profile/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.
Owner
- Name: Tools for profiling R code
- Login: r-prof
- Kind: organization
- Repositories: 5
- Profile: https://github.com/r-prof
GitHub Events
Total
- Issues event: 1
- Delete event: 22
- Issue comment event: 3
- Push event: 59
- Pull request event: 43
- Create event: 33
Last Year
- Issues event: 1
- Delete event: 22
- Issue comment event: 3
- Push event: 59
- Pull request event: 43
- Create event: 33
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Kirill Müller | k****r@m****g | 144 |
| Kirill Müller | k****r@m****g | 84 |
| krlmlr | k****r | 12 |
| Indrajeet Patil | p****e@g****m | 8 |
| Claudio Reggiani | n****q@g****m | 5 |
| Kirill Müller | k****l@c****m | 4 |
Committer Domains (Top 20 + Academic)
mailbox.org: 2
cynkra.com: 1
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 2
- Total pull requests: 24
- Average time to close issues: less than a minute
- Average time to close pull requests: 7 minutes
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 19
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 22
- Average time to close issues: less than a minute
- Average time to close pull requests: less than a minute
- Issue authors: 2
- Pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.0
- Merged pull requests: 18
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- wlandau (1)
- krlmlr (1)
Pull Request Authors
- krlmlr (24)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 231 last-month
- Total docker downloads: 41,971
- Total dependent packages: 1
- Total dependent repositories: 1
- Total versions: 4
- Total maintainers: 1
cran.r-project.org: profile
Read, Manipulate, and Write Profiler Data
- Homepage: https://r-prof.github.io/profile/
- Documentation: http://cran.r-project.org/web/packages/profile/profile.pdf
- License: MIT + file LICENSE
-
Latest release: 1.0.3
published almost 4 years ago
Rankings
Docker downloads count: 0.6%
Stargazers count: 15.8%
Forks count: 17.0%
Dependent packages count: 18.1%
Average: 19.7%
Dependent repos count: 23.8%
Downloads: 43.1%
Maintainers (1)
Last synced:
10 months ago
Dependencies
DESCRIPTION
cran
- methods * imports
- rlang * imports
- tibble >= 3.0.0 imports
- withr * imports
- DiagrammeR * suggests
- DiagrammeRsvg * suggests
- RProtoBuf * suggests
- covr * suggests
- dm * suggests
- testthat * suggests
.github/workflows/R-CMD-check-dev.yaml
actions
- ./.github/workflows/check * composite
- ./.github/workflows/custom/after-install * composite
- ./.github/workflows/custom/before-install * composite
- ./.github/workflows/dep-matrix * composite
- ./.github/workflows/install * composite
- ./.github/workflows/rate-limit * composite
- ./.github/workflows/update-snapshots * composite
- actions/checkout v3 composite
- r-lib/actions/setup-r v2 composite
.github/workflows/R-CMD-check.yaml
actions
- ./.github/workflows/check * composite
- ./.github/workflows/commit * composite
- ./.github/workflows/custom/after-install * composite
- ./.github/workflows/custom/before-install * composite
- ./.github/workflows/git-identity * composite
- ./.github/workflows/install * composite
- ./.github/workflows/pkgdown-build * composite
- ./.github/workflows/pkgdown-deploy * composite
- ./.github/workflows/rate-limit * composite
- ./.github/workflows/roxygenize * composite
- ./.github/workflows/style * composite
- ./.github/workflows/update-snapshots * composite
- actions/checkout v3 composite
.github/workflows/check/action.yml
actions
- actions/upload-artifact main composite
- r-lib/actions/check-r-package v2 composite
.github/workflows/fledge.yaml
actions
- ./.github/workflows/git-identity * composite
- ./.github/workflows/install * composite
- actions/checkout v2 composite
.github/workflows/install/action.yml
actions
- ./.github/workflows/get-extra * composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/lock.yaml
actions
- dessant/lock-threads v2 composite
.github/workflows/pkgdown-deploy/action.yml
actions
- nick-fields/retry v2 composite
.github/workflows/pkgdown.yaml
actions
- ./.github/workflows/custom/after-install * composite
- ./.github/workflows/custom/before-install * composite
- ./.github/workflows/git-identity * composite
- ./.github/workflows/install * composite
- ./.github/workflows/pkgdown-build * composite
- ./.github/workflows/pkgdown-deploy * composite
- ./.github/workflows/rate-limit * composite
- actions/checkout v3 composite
.github/workflows/pr-commands.yaml
actions
- actions/checkout v3 composite
- r-lib/actions/pr-fetch master composite
- r-lib/actions/pr-push master composite
- r-lib/actions/setup-r master composite
.github/workflows/revdep.yaml
actions
- actions/checkout v3 composite
- actions/upload-artifact main composite
- r-lib/actions/setup-pandoc v2 composite
.github/workflows/style/action.yml
actions
- actions/cache v3 composite
.github/workflows/update-snapshots/action.yml
actions
- peter-evans/create-pull-request v4 composite