Description Usage Arguments Examples
Benchmark processing time for typical analytics tasks
1 2 |
rows |
Number of rows of the testing dataset if 'size = "rows"'. |
csv |
If 'TRUE', the csv-functions 'read.csv2' and 'write.csv' are included in the benchmarking. |
size |
How you want to specify the size of your testing dataset. Either "rows" or "bytes". "rows" by default. |
bytes |
Size of the dataset if 'size = "bytes"'. E.g. (3*1024)^2 for 3 MB or 1024^4 for one GB. |
rep_times |
Number of time each benchmarked function is repeated for the benchmarking. |
1 2 3 4 5 6 7 8 | benchmark(csv = T) # include benchmarking of read.csv and write.csv2
# specify the size of the dataset you want to test your system with:
benchmark(size = "bytes", bytes = (5*1024)^2) # in bytes
benchmark(rows = 100000) # in rows
benchmark(rep_times = 20) # specify how many times you want to repeat
# benchmarking one function
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.