
Computing time estimates
Miquel De Cáceres (EMF-CREAF)
2026-05-12
Source:vignettes/modelanalysis/ComputingTime.Rmd
ComputingTime.RmdAbout this vignette
The aim of this vignette is to provide users with a rough estimation of computing times for simulation models included in package medfate.
The results presented here were obtained using 1 year of simulation with the example data sets on a laptop (16 GiB memory and 11th Gen Inter Core I5 processor @ 2.40 GHz x 8) with Ubuntu Linux OS.
Table of computational times
Computational times were estimated using system.time(),
are in seconds and are shown by package version.
| function | transpirationMode | soilDomains | rhizosphereOverlap | 4.4.0 | 4.7.0 | 4.8.0 | 4.9.0 | 5.0.0 |
|---|---|---|---|---|---|---|---|---|
| spwb | Granier | buckets | total | 0.382 | 0.117 | 0.136 | 0.134 | 0.018 |
| spwb | Granier | single | total | 0.426 | 0.143 | 0.181 | 0.223 | 0.036 |
| spwb | Granier | dual | total | 6.850 | 5.090 | 5.954 | 8.914 | 4.263 |
| spwb | Sperry | buckets | total | 9.531 | 6.681 | 7.139 | 13.478 | 2.102 |
| spwb | Sperry | single | total | 10.208 | 6.726 | 6.689 | 13.529 | 2.122 |
| spwb | Sperry | dual | total | 18.375 | 12.623 | 12.412 | 23.679 | 6.765 |
| spwb | Sureau | buckets | total | 9.730 | 6.679 | 5.806 | 5.857 | 0.607 |
| spwb | Sureau | single | total | 10.565 | 6.555 | 5.947 | 6.052 | 0.717 |
| spwb | Sureau | dual | total | 19.013 | 15.222 | 13.566 | 18.987 | 6.720 |
| growth | Granier | buckets | total | 1.576 | 0.209 | 0.179 | 0.257 | 0.037 |
| growth | Granier | single | total | 1.762 | 0.254 | 0.219 | 0.363 | 0.054 |
| growth | Granier | dual | total | 8.468 | 5.805 | 5.305 | 9.360 | 4.155 |
| growth | Sperry | buckets | total | 17.586 | 15.088 | 14.140 | 24.665 | 9.802 |
| growth | Sperry | single | total | 16.947 | 15.025 | 14.281 | 24.559 | 9.847 |
| growth | Sperry | dual | total | 25.108 | 21.341 | 20.170 | 35.205 | 14.492 |
| growth | Sureau | buckets | total | 17.009 | 14.063 | 13.986 | 16.685 | 8.020 |
| growth | Sureau | single | total | 18.023 | 14.200 | 14.426 | 17.075 | 8.498 |
| growth | Sureau | dual | total | 26.702 | 22.414 | 24.041 | 36.420 | 14.379 |
| fordyn | Granier | buckets | total | 1.545 | 0.245 | 0.247 | 0.420 | 0.090 |
| fordyn | Granier | single | total | 1.783 | 0.292 | 0.296 | 0.545 | 0.098 |
| fordyn | Granier | dual | total | 8.168 | 6.134 | 5.821 | 11.312 | 4.155 |
| fordyn | Sperry | buckets | total | 18.099 | 16.756 | 15.161 | 24.664 | 9.790 |
| fordyn | Sperry | single | total | 18.595 | 16.675 | 15.030 | 24.484 | 9.781 |
| fordyn | Sperry | dual | total | 27.134 | 25.285 | 21.272 | 35.603 | 14.392 |
| fordyn | Sureau | buckets | total | 18.832 | 17.116 | 14.224 | 16.288 | 8.248 |
| fordyn | Sureau | single | total | 18.604 | 16.090 | 14.312 | 16.784 | 8.535 |
| fordyn | Sureau | dual | total | 26.987 | 28.045 | 22.149 | 31.448 | 13.996 |