diff options
Diffstat (limited to 'docs/dev/articles/web_only/compiled_models.html')
-rw-r--r-- | docs/dev/articles/web_only/compiled_models.html | 18 |
1 files changed, 9 insertions, 9 deletions
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 @@ <h1 data-toc-skip>Performance benefit by using compiled model definitions in mkin</h1> <h4 class="author">Johannes Ranke</h4> - <h4 class="date">2020-05-27</h4> + <h4 class="date">2020-10-08</h4> <small class="dont-index">Source: <a href="http://github.com/jranke/mkin/blob/master/vignettes/web_only/compiled_models.rmd"><code>vignettes/web_only/compiled_models.rmd</code></a></small> <div class="hidden name"><code>compiled_models.rmd</code></div> @@ -153,10 +153,10 @@ <span class="fu"><a href="https://rdrr.io/r/base/print.html">print</a></span>(<span class="st">"R package rbenchmark is not available"</span>) }</pre></body></html></div> <pre><code>## 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</code></pre> +## 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</code></pre> <p>We see that using the compiled model is by more than a factor of 10 faster than using deSolve without compiled code.</p> </div> <div id="model-without-analytical-solution" class="section level2"> @@ -182,11 +182,11 @@ }</pre></body></html></div> <pre><code>## Successfully compiled differential equation model from auto-generated C code.</code></pre> <pre><code>## test replications relative elapsed -## 2 deSolve, compiled 1 1.000 0.467 -## 1 deSolve, not compiled 1 30.244 14.124</code></pre> -<p>Here we get a performance benefit of a factor of 30 using the version of the differential equation model compiled from C code!</p> +## 2 deSolve, compiled 1 1.000 0.474 +## 1 deSolve, not compiled 1 30.909 14.651</code></pre> +<p>Here we get a performance benefit of a factor of 31 using the version of the differential equation model compiled from C code!</p> <p>This vignette was built with mkin 0.9.50.3 on</p> -<pre><code>## R version 4.0.0 (2020-04-24) +<pre><code>## R version 4.0.2 (2020-06-22) ## Platform: x86_64-pc-linux-gnu (64-bit) ## Running under: Debian GNU/Linux 10 (buster)</code></pre> <pre><code>## CPU model: AMD Ryzen 7 1700 Eight-Core Processor</code></pre> |