Background
The plater package was an inspiration for the
development of tidyplate. The primary motivation behind
developing tidyplate was to address two aspects of
microplate data processing:
- Computational performance across different microplate formats.
- Support for Microsoft Excel files in addition to CSV files.
The tidyplate::tidy_plate() function provides an
interface for converting microplate data into a tidy format, with
support for both CSV and Excel input files.
Benchmarking methodology
The computational performance of tidyplate::tidy_plate()
was compared with that of plater::read_plate() using the
microbenchmark package.
The benchmark was conducted under the following conditions:
- Seven microplate formats: 6, 12, 24, 48, 96, 384, and 1536 wells.
- Identical CSV input files for both functions.
- Verification of output equivalence before benchmarking.
- 50 repetitions per function for each plate format.
- Randomized execution order to reduce ordering effects.
- Execution times recorded in milliseconds.
A total of 700 timed function evaluations were performed.
Performance comparison
The following figure shows the distribution of execution times for both functions across the seven microplate formats. Execution times are displayed on a logarithmic scale to facilitate comparison across different plate sizes.

Lower execution times indicate better computational performance.
Reproducibility
The complete benchmarking script is available in the benchmarks
directory of the tidyplate GitHub repository.
To reproduce the benchmark, clone the repository and run the following command from the package root directory after installing the required development dependencies:
source("benchmarks/benchmark.R")The benchmarking script generates:
- Raw execution time measurements.
- Summary statistics.
- Performance ratios based on median execution times.
- Execution time distribution plots.
- Mean execution time plots.
- Performance scaling plots.
- Package versions and R session information.
The benchmark is performed independently of the vignette build process to minimize package build and check times.
Limitations
Benchmarking results may vary depending on hardware, operating system, R version, package versions, and input data complexity.
This comparison evaluates CSV input files because they represent a common input format supported by both packages. Excel file processing performance is not evaluated in this benchmark.
