Skip to content

bench

1.1.4Package record

High Precision Timing of R Expressions

3packages dependsuggested by 79
404.8Kdownloads / year
80.8%test coverage
13/13flavors OK

Overview

About

Tools to accurately benchmark and analyze execution times for R expressions.

Changes in 1.1.4
  • press() gains a new .quiet argument to silence progress messages (#145).
  • The .grid argument of press() now subsets data.frames and tibbles consistently (#142).
  • bench_time_trans() and bench_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

CRAN checks
13OK
Slowest check: 2.6 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.4
READMEYes · 492 wordsVignettesNoNEWSYes · 100% structured · mentions 1.1.4Citation fileNoWebsiteYes · pkgdown
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

404.8K
CRAN downloads in the past year
Rank #765 · ~1.1K/day · ~33.7K/mo
Daily download trend is not available in this view yet.
20.2K30 days
64K90 days
404.8K1 year
Compare downloads with other packages →
Also on7.7K r2u237 autocran6.1K conda_forge

Repository

r-lib/bench ↗Organization: r-lib
257Stars
25Forks
15Open issues
1Open PRs
8Releases
351Commits
21Commit identities
r
351 commits · Last activity 2025-10-23 · 0% stars, 30d · Default branch at 1.1.4.9000, ahead of CRAN 1.1.4 (checked 2026-10-11)
Responsiveness
How these are sampled
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

2025-08-13 · 2512026-09-01 · 257
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Code of conduct
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-10-23 · The repository has a site deploy workflow

pkgdown site last built 2025-01-16

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 2 practices
CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (2)
AirRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 4.0.0
Imports (8)
LinkingTo (0)
none
Enhances (0)
none

People & History

People (4)
Author, Maintainer since 1.1.2 (2021) · added in 1.1.2
Contributor · added in 1.1.0
read_proc_file implementation
Copyright holder, Funder · added in 1.1.3

Previously maintained by Jim Hester (1.0.0 to 1.1.1).

Releases (10)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.4Latest
    record
    2025-01-16 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.3
    record
    2023-05-04 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.1.2
    record
    2021-11-30 · diff ↗ ·
    added 1 export
    bench_load_average
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.1.1
    record
    2020-01-14 · diff ↗
  • 1.1.0
    record
    2020-01-10 · diff ↗ ·
    added 2 exports
    bench_process_memory, workout_expressions
  • 1.0.4
    record
    2019-09-06 · diff ↗
  • 1.0.3
    record
    2019-08-28 · diff ↗ ·
    added 2 exports
    bench_memory, hires_time
  • 1.0.2
    record
    2019-04-29 · diff ↗ ·
    added 5 exports
    scale_color_bench_expr, scale_colour_bench_expr, scale_x_bench_expr, scale_y_bench_expr, workout
  • R
    R 3.6.0 released · 2019-04-26
Show 3 earlier eventsHide 3 earlier events

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")
Vaughan, D., Posit Software, PBC, Hester, J., & Schmidt, D. (2025). bench: High Precision Timing of R Expressions (Version 1.1.4) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for bench version 1.1.4 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy