This benchmarks functions in this package that leverage geotrellis http://geotrellis.io and their counterparts in the raster package.
benchmark(ncell = c(100, 2500, 1e+06), times = 100L, io = TRUE, gp = TRUE, stats = TRUE)
integer number of cells in data to use for benchmarking.integer number of replicate runs.logical should input/output functions be benchmarked?logical should geoprocessing functions be benchmarked?logical should statistical functions be benchmarked?gt_Benchmark object.
This function returns a gt_Benchmark object. This is basically
a list of microbenchmark objects.
## Not run: ------------------------------------ # # run short benchmark # # note that real benchmarks should use more replications # # and that geotrellis is better for bigger data sets # b <- benchmark(c(100, 2500), times = 10L) # # print results # b # # plot results # plot(b) ## ---------------------------------------------