Generates n synthetic pedons (5 horizons each, with the
chemistry / morphology populated for typical Argissolo /
Latossolo / Cambissolo cases), calls each classifier on each
pedon, and reports per-call latency + total throughput.
Usage
benchmark_performance(
n = 100L,
systems = c("wrb2022", "sibcs", "usda"),
include_familia = FALSE,
seed = 42L,
verbose = TRUE
)Arguments
- n
Integer. Number of synthetic pedons to generate. Default 100; pass 1000 or higher for batch-level measurements.
- systems
Character vector. Which classifiers to time. Default
c("wrb2022", "sibcs", "usda")(all three).- include_familia
Pass-through to
classify_sibcswhen"sibcs"is insystems. DefaultFALSE.- seed
RNG seed for reproducibility. Default 42.
- verbose
If
TRUE(default), prints a per-system summary line.
Value
A list with elements:
summarydata.frame:
system, n_pedons, total_seconds, mean_seconds, median_seconds, pedons_per_minute.per_pedondata.frame with one row per (pedon, system) call:
i, system, seconds, status.configlist with
n,seed,soilKey_version,R_version,platform.
