From b7901aac76df753ec1213cb02bebea055965ee87 Mon Sep 17 00:00:00 2001 From: Ranke Johannes Date: Mon, 30 Oct 2023 17:09:21 +0100 Subject: Update static docs --- docs/articles/web_only/compiled_models.html | 31 ++++++++++++++++------------- 1 file changed, 17 insertions(+), 14 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 3c53b40a..1aa88e05 100644 --- a/docs/articles/web_only/compiled_models.html +++ b/docs/articles/web_only/compiled_models.html @@ -33,7 +33,7 @@ mkin - 1.2.4 + 1.2.6 @@ -73,6 +73,9 @@
  • Testing hierarchical pathway kinetics with residue data on dimethenamid and dimethenamid-P
  • +
  • + Testing covariate modelling in hierarchical parent degradation kinetics with residue data on mesotrione +
  • Testing hierarchical pathway kinetics with residue data on cyantraniliprole
  • @@ -134,7 +137,7 @@ definitions in mkin

    Johannes Ranke

    -

    2023-05-19

    +

    2023-10-30

    Source: vignettes/web_only/compiled_models.rmd @@ -152,7 +155,7 @@ compiled from autogenerated C code when defining a model using mkinmod. Starting from version 0.9.49.9, the mkinmod() function checks for presence of a compiler using

    -pkgbuild::has_compiler()
    +pkgbuild::has_compiler()

    In previous versions, it used Sys.which("gcc") for this check.

    On Linux, you need to have the essential build tools like make and @@ -213,10 +216,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.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
    +## 4 analytical 1 1.000 0.213 +## 3 deSolve, compiled 1 1.418 0.302 +## 2 Eigenvalue based 1 2.000 0.426 +## 1 deSolve, not compiled 1 23.535 5.013

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

    @@ -247,15 +250,15 @@ compiled code is available.

    }
    ## Temporary DLL for differentials generated and loaded
    ##                    test replications relative elapsed
    -## 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 +## 2 deSolve, compiled 1 1.000 0.492 +## 1 deSolve, not compiled 1 20.398 10.036 +

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

    -

    This vignette was built with mkin 1.2.4 on

    -
    ## R version 4.3.0 Patched (2023-05-18 r84448)
    +

    This vignette was built with mkin 1.2.6 on

    +
    ## R version 4.3.1 (2023-06-16)
     ## Platform: x86_64-pc-linux-gnu (64-bit)
    -## Running under: Debian GNU/Linux 12 (bookworm)
    -
    ## CPU model: AMD Ryzen 9 7950X 16-Core Processor
    +## Running under: Ubuntu 22.04.3 LTS
    +
    ## CPU model: Intel(R) Xeon(R) Gold 6134 CPU @ 3.20GHz
    -- cgit v1.2.1