Skip to content

renaissance-benchmarks/utilities-r

Repository files navigation

rren: Renaissance Benchmark R Utilities

check

Overview

rren packages various functions useful for processing measurements collected using the Renaissance Benchmark Suite.

Installation

rren is a package for the R Project. It can be installed from the R command line:

install.packages ('pak')
pak::pak ('renaissance-benchmarks/utilities-r')

Usage

A simple summary report can be generated from JSON data with Rscript -e 'rren::report_summaries ()' run in the data path:

> java -jar renaissance-gpl-0.15.0.jar --json scrabble.json scrabble
====== scrabble (functional) [default], iteration 0 started ======
GC before operation: completed in 62.114 ms, heap usage 188.729 MB -> 77.885 MB.
...
> Rscript -e 'rren::report_summaries (warmup = 0)'
ℹ Loading data from .

── OpenJDK 64-Bit Server VM 17.0.8+7 (cd7b7eea) ────────────────────────────────

── scrabble ──

metric     mean                       median
time        388 m (371 m - 415 m)      373 m (363 m - 392 m)

────────────────────────────────────────────────────────────────────────────────

Use load_file_json () or load_path_json () to load measurement data into a tibble. The functions support multiple measurement data file versions and normalize basic timing columns for easier processing.

About

Benchmark result processing utilities for R

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages