From 4f62f39b8979cb3a5c52d65d425e530dc0770665 Mon Sep 17 00:00:00 2001
From: Johannes Ranke Johannes
Ranke
- 2025-02-14
+ 2025-02-16
Source: vignettes/web_only/compiled_models.rmd
compiled_models.rmd
## test replications relative elapsed
-## 4 analytical 1 1.000 0.102
-## 3 deSolve, compiled 1 1.324 0.135
-## 2 Eigenvalue based 1 1.706 0.174
-## 1 deSolve, not compiled 1 22.627 2.308
+## 4 analytical 1 1.000 0.115
+## 3 deSolve, compiled 1 1.217 0.140
+## 2 Eigenvalue based 1 1.652 0.190
+## 1 deSolve, not compiled 1 20.522 2.360
We see that using the compiled model is by more than a factor of 10 faster than using deSolve without compiled code.
@@ -196,8 +196,8 @@ compiled code is available. }## Temporary DLL for differentials generated and loaded
## test replications relative elapsed
-## 2 deSolve, compiled 1 1.000 0.170
-## 1 deSolve, not compiled 1 23.865 4.057
+## 2 deSolve, compiled 1 1.000 0.180
+## 1 deSolve, not compiled 1 23.656 4.258
Here we get a performance benefit of a factor of 24 using the version of the differential equation model compiled from C code!
This vignette was built with mkin 1.2.10 on
-- cgit v1.2.1