aboutsummaryrefslogtreecommitdiff
path: root/docs/dev/articles/web_only/compiled_models.html
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2021-02-15 17:36:12 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2021-02-15 17:36:12 +0100
commitb9be19af5e3085216d0cd5af439332f631fa8b92 (patch)
treee10511f60e7f1713b781d5ea2acf885f3d1e6767 /docs/dev/articles/web_only/compiled_models.html
parent11c7f26dd6c532d977d9875f3c16952c7bba37ca (diff)
Fully rebuild docs, rerun tests and check
Diffstat (limited to 'docs/dev/articles/web_only/compiled_models.html')
-rw-r--r--docs/dev/articles/web_only/compiled_models.html27
1 files changed, 13 insertions, 14 deletions
diff --git a/docs/dev/articles/web_only/compiled_models.html b/docs/dev/articles/web_only/compiled_models.html
index a444f4bc..49a579fc 100644
--- a/docs/dev/articles/web_only/compiled_models.html
+++ b/docs/dev/articles/web_only/compiled_models.html
@@ -32,7 +32,7 @@
</button>
<span class="navbar-brand">
<a class="navbar-link" href="../../index.html">mkin</a>
- <span class="version label label-info" data-toggle="tooltip" data-placement="bottom" title="In-development version">0.9.50.4</span>
+ <span class="version label label-info" data-toggle="tooltip" data-placement="bottom" title="In-development version">1.0.3.9000</span>
</span>
</div>
@@ -81,7 +81,7 @@
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://github.com/jranke/mkin/">
- <span class="fab fa fab fa-github fa-lg"></span>
+ <span class="fab fa-github fa-lg"></span>
</a>
</li>
@@ -95,14 +95,13 @@
- </header><link href="compiled_models_files/anchor-sections-1.0/anchor-sections.css" rel="stylesheet">
-<script src="compiled_models_files/anchor-sections-1.0/anchor-sections.js"></script><div class="row">
+ </header><script src="compiled_models_files/header-attrs-2.6/header-attrs.js"></script><script src="compiled_models_files/accessible-code-block-0.0.1/empty-anchor.js"></script><div class="row">
<div class="col-md-9 contents">
<div class="page-header toc-ignore">
<h1 data-toc-skip>Performance benefit by using compiled model definitions in mkin</h1>
<h4 class="author">Johannes Ranke</h4>
- <h4 class="date">2020-11-30</h4>
+ <h4 class="date">2021-02-15</h4>
<small class="dont-index">Source: <a href="https://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>
@@ -160,10 +159,10 @@
<span class="fu"><a href="https://rdrr.io/r/base/print.html">print</a></span><span class="op">(</span><span class="st">"R package rbenchmark is not available"</span><span class="op">)</span>
<span class="op">}</span></code></pre></div>
<pre><code>## test replications relative elapsed
-## 4 analytical 1 1.000 0.187
-## 3 deSolve, compiled 1 1.807 0.338
-## 2 Eigenvalue based 1 2.032 0.380
-## 1 deSolve, not compiled 1 43.048 8.050</code></pre>
+## 4 analytical 1 1.000 0.182
+## 3 deSolve, compiled 1 1.824 0.332
+## 2 Eigenvalue based 1 2.082 0.379
+## 1 deSolve, not compiled 1 46.181 8.405</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">
@@ -190,13 +189,13 @@
<span class="op">}</span></code></pre></div>
<pre><code>## Temporary DLL for differentials generated and loaded</code></pre>
<pre><code>## test replications relative elapsed
-## 2 deSolve, compiled 1 1.000 0.483
-## 1 deSolve, not compiled 1 29.969 14.475</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>
-<p>This vignette was built with mkin 0.9.50.4 on</p>
+## 2 deSolve, compiled 1 1.000 0.541
+## 1 deSolve, not compiled 1 29.091 15.738</code></pre>
+<p>Here we get a performance benefit of a factor of 29 using the version of the differential equation model compiled from C code!</p>
+<p>This vignette was built with mkin 1.0.3.9000 on</p>
<pre><code>## R version 4.0.3 (2020-10-10)
## Platform: x86_64-pc-linux-gnu (64-bit)
-## Running under: Debian GNU/Linux 10 (buster)</code></pre>
+## Running under: Debian GNU/Linux bullseye/sid</code></pre>
<pre><code>## CPU model: AMD Ryzen 7 1700 Eight-Core Processor</code></pre>
</div>
</div>

Contact - Imprint