From bc3825ae2d12c18ea3d3caf17eb23c93fef180b8 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 8 Oct 2020 09:31:35 +0200 Subject: Fix issues for release --- docs/dev/articles/web_only/compiled_models.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'docs/dev/articles/web_only/compiled_models.html') diff --git a/docs/dev/articles/web_only/compiled_models.html b/docs/dev/articles/web_only/compiled_models.html index 997e90ea..055d0646 100644 --- a/docs/dev/articles/web_only/compiled_models.html +++ b/docs/dev/articles/web_only/compiled_models.html @@ -101,7 +101,7 @@

Performance benefit by using compiled model definitions in mkin

Johannes Ranke

-

2020-05-27

+

2020-10-08

Source: vignettes/web_only/compiled_models.rmd @@ -153,10 +153,10 @@ print("R package rbenchmark is not available") }
##                    test replications relative elapsed
-## 4            analytical            1    1.000   0.201
-## 3     deSolve, compiled            1    1.711   0.344
-## 2      Eigenvalue based            1    1.960   0.394
-## 1 deSolve, not compiled            1   39.881   8.016
+## 4 analytical 1 1.000 0.195 +## 3 deSolve, compiled 1 1.769 0.345 +## 2 Eigenvalue based 1 2.087 0.407 +## 1 deSolve, not compiled 1 42.656 8.318

We see that using the compiled model is by more than a factor of 10 faster than using deSolve without compiled code.

@@ -182,11 +182,11 @@ }
## Successfully compiled differential equation model from auto-generated C code.
##                    test replications relative elapsed
-## 2     deSolve, compiled            1    1.000   0.467
-## 1 deSolve, not compiled            1   30.244  14.124
-

Here we get a performance benefit of a factor of 30 using the version of the differential equation model compiled from C code!

+## 2 deSolve, compiled 1 1.000 0.474 +## 1 deSolve, not compiled 1 30.909 14.651 +

Here we get a performance benefit of a factor of 31 using the version of the differential equation model compiled from C code!

This vignette was built with mkin 0.9.50.3 on

-
## R version 4.0.0 (2020-04-24)
+
## R version 4.0.2 (2020-06-22)
 ## Platform: x86_64-pc-linux-gnu (64-bit)
 ## Running under: Debian GNU/Linux 10 (buster)
## CPU model: AMD Ryzen 7 1700 Eight-Core Processor
-- cgit v1.2.1