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)

Arguments

ncell
integer number of cells in data to use for benchmarking.
times
integer number of replicate runs.
io
logical should input/output functions be benchmarked?
gp
logical should geoprocessing functions be benchmarked?
stats
logical should statistical functions be benchmarked?

Value

gt_Benchmark object.

Details

This function returns a gt_Benchmark object. This is basically a list of microbenchmark objects.

Examples

## 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) ## ---------------------------------------------