What Do R Benchmarks Measure: Toward a Performance-Characterized Benchmark Suite for R

Many programming language implementations have a benchmark suite that consists of a fixed set of programs with a harness and clear maintenance. R has none. Instead, R implementations are evaluated on ad hoc sets of programs and harnesses with different timing conventions. This paper is a step toward a benchmarking suite for R. We collect 118 R programs from 8 repositories and put them under a single harness. Next, we characterize their performance profiles, which show the share of the run spent in different regions of the R virtual machine (e.g., bytecode interpreter, memory management, builtin functions). This allows us to classify benchmarks by what they exercise so we can create suites that target a specific use such as compiler optimizations. On three R compilers, the speedups follow the profiles. They concentrate in the interpreter-bound programs and vanish in the ones dominated by native code. The profiles also cut the cost of running a suite. Dropping the 53 programs dominated by native code or builtins leaves 65 programs and saves 51.7% of the running time of the corpus.

Link
https://www.semanticscholar.org/paper/22e917753db0a34b32b48a71f42f79c8bd36bbbe
Found by
Semantic Scholar
Authors
Martin Kocourek, F. Říha, Oliver Tušla, Pierre Donat-Bouillud, Filip Křikava, Jan Vitek
Categories
benchmark, evaluation, dataset
Published
2026-10-02
Last seen by the radar
2026-10-04
Citations
0
Influential citations
0
Radar score
44.25 / 100 (how it is scored)
Why it scored so
Matched: benchmark, corpus, evaluat; Primary record: Semantic Scholar
Related links
https://doi.org/10.1145/3840562.3844972
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar