High Precision Timing of R Expressions
Overview
Tools to accurately benchmark and analyze execution times for R expressions.
press()gains a new.quietargument to silence progress messages (#145).- The
.gridargument ofpress()now subsets data.frames and tibbles consistently (#142). bench_time_trans()andbench_bytes_trans()once again apply pretty breaks correctly (#140, @plietar, @simonpcouch).- R >=4.0.0 is now required, which is aligned with tidyverse standards.
- Switched to modern ggplot2 conventions internally (#141, @olivroy).
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 19 (5 internal)includes a package overview page
- Examples that run
- 100%11 run in a plain check
- Exported functions with examples
- 53%
- Documented parameters
- 92%
- Return-value docs
- 20%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 82%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
12 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/r-lib/bench on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-10-23 · The repository has a site deploy workflow
pkgdown site last built 2025-01-16
Show all practicesHide 2 practices
Dependencies
Installing bench adds 11 packages (7 with compiled code, 4.0 MB of source tarballs). Heaviest: vctrs 1.0 MB, rlang 766 KB, cli 629 KB.
Show the 48 most downloaded packagesHide the 48 most downloaded packages
Code & Tests
People & History
Previously maintained by Jim Hester (1.0.0 to 1.1.1).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.1.4Latest
- RR 4.4.0 released · 2024-04-24
- 1.1.32023-05-04 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.1.2
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 1.1.12020-01-14 · diff ↗
- 1.1.0
- 1.0.42019-09-06 · diff ↗
- 1.0.3
- 1.0.22019-04-29 · diff ↗ ·
added 5 exports
scale_color_bench_expr, scale_colour_bench_expr, scale_x_bench_expr, scale_y_bench_expr, workout - RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2018-05-27
- Total releases
- 10 / 8 yrs
- License
- MIT + file LICENSE OSI · relicensed from GPL-3 in 1.1.2
- Minimum R
- ≥ 4.0.0
- Download size
- 309 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("bench")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.