From cf54ccca37d27480dbf8d59eb027300518f7ad75 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 19 May 2023 17:08:43 +0200 Subject: Prepare release of v1.2.4 - Update DESCRIPTION - Update Makefile to document how to use R-patched - Remove markup from two URLs to avoid CRAN NOTE - Switch two vignettes from html_document to html_vignette to save space in the docs directory, also avoiding a CRAN NOTE - Complete rebuild of pkgdown docs for release --- docs/articles/web_only/compiled_models.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'docs/articles/web_only/compiled_models.html') diff --git a/docs/articles/web_only/compiled_models.html b/docs/articles/web_only/compiled_models.html index a411dad1..3c53b40a 100644 --- a/docs/articles/web_only/compiled_models.html +++ b/docs/articles/web_only/compiled_models.html @@ -33,7 +33,7 @@ mkin - 1.2.3 + 1.2.4 @@ -134,7 +134,7 @@ definitions in mkin

Johannes Ranke

-

2023-04-20

+

2023-05-19

Source: vignettes/web_only/compiled_models.rmd @@ -213,10 +213,10 @@ solution is also implemented, which is included in the tests below.

print("R package rbenchmark is not available") }
##                    test replications relative elapsed
-## 4            analytical            1    1.000   0.103
-## 3     deSolve, compiled            1    1.291   0.133
-## 2      Eigenvalue based            1    1.718   0.177
-## 1 deSolve, not compiled            1   22.136   2.280
+## 4 analytical 1 1.000 0.099 +## 3 deSolve, compiled 1 1.303 0.129 +## 2 Eigenvalue based 1 1.697 0.168 +## 1 deSolve, not compiled 1 21.475 2.126

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

@@ -247,12 +247,12 @@ compiled code is available.

}
## Temporary DLL for differentials generated and loaded
##                    test replications relative elapsed
-## 2     deSolve, compiled            1    1.000   0.171
-## 1 deSolve, not compiled            1   24.199   4.138
-

Here we get a performance benefit of a factor of 24 using the version +## 2 deSolve, compiled 1 1.000 0.165 +## 1 deSolve, not compiled 1 22.673 3.741 +

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

-

This vignette was built with mkin 1.2.3 on

-
## R version 4.2.3 (2023-03-15)
+

This vignette was built with mkin 1.2.4 on

+
## R version 4.3.0 Patched (2023-05-18 r84448)
 ## Platform: x86_64-pc-linux-gnu (64-bit)
 ## Running under: Debian GNU/Linux 12 (bookworm)
## CPU model: AMD Ryzen 9 7950X 16-Core Processor
-- cgit v1.2.1