ioBenchmark | R Documentation |
derives numbers to evaluate time performance for reading a single spectrum in dependency from the chunk size (how many spectra are read in one function call) for reading different numbers of overall spectra.
ioBenchmark(
nv = c(1000, 5000, 10000),
sizev = c(8, 16, 32, 64, 128, 256, 8, 16, 32, 64, 128, 256, 8, 16, 32, 64, 128, 256, 8,
16, 32, 64, 128, 256, 8, 16, 32, 64, 128, 256, 8, 16, 32, 64, 128, 256),
rawfile
)
nv |
number of spectra to be read. |
sizev |
number of spectra write and parsed in one single junk. |
rawfile |
the Thermo Fisher Scientific raw file. |
data.frame
eh <- ExperimentHub::ExperimentHub()
EH4547 <- normalizePath(eh[["EH4547"]])
(rawfileEH4547 <- paste0(EH4547 , ".raw"))
if (!file.exists(rawfileEH4547 )){
file.link(EH4547 , rawfileEH4547)
}
S <- ioBenchmark(1000, c(128, 256, 128, 256), rawfile=rawfileEH4547)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.