From b6e278759127dab5bb78bc3016926a66e8a9758f Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 14 May 2020 17:10:59 +0200 Subject: Test markdown link, article update due to .rmd extension --- docs/articles/web_only/compiled_models.html | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 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 85134720..837b288b 100644 --- a/docs/articles/web_only/compiled_models.html +++ b/docs/articles/web_only/compiled_models.html @@ -68,6 +68,9 @@
  • Example evaluation of NAFTA SOP Attachment examples
  • +
  • + Some benchmark timings +
  • @@ -97,10 +100,10 @@

    Performance benefit by using compiled model definitions in mkin

    Johannes Ranke

    -

    2020-05-12

    +

    2020-05-14

    - Source: vignettes/web_only/compiled_models.Rmd - + Source: vignettes/web_only/compiled_models.rmd + @@ -149,10 +152,10 @@ print("R package rbenchmark is not available") }
    ##                    test replications relative elapsed
    -## 4            analytical            1    1.000   0.190
    -## 3     deSolve, compiled            1    1.774   0.337
    -## 2      Eigenvalue based            1    2.105   0.400
    -## 1 deSolve, not compiled            1   42.763   8.125
    +## 4 analytical 1 1.000 0.191 +## 3 deSolve, compiled 1 1.801 0.344 +## 2 Eigenvalue based 1 2.105 0.402 +## 1 deSolve, not compiled 1 42.864 8.187

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

    @@ -178,9 +181,9 @@ }
    ## Successfully compiled differential equation model from auto-generated C code.
    ##                    test replications relative elapsed
    -## 2     deSolve, compiled            1    1.000   0.476
    -## 1 deSolve, not compiled            1   30.103  14.329
    -

    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.466 +## 1 deSolve, not compiled 1 30.942 14.419 +

    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.2 on

    ## R version 4.0.0 (2020-04-24)
     ## Platform: x86_64-pc-linux-gnu (64-bit)
    -- 
    cgit v1.2.1