aboutsummaryrefslogtreecommitdiff
path: root/docs/articles/web_only/compiled_models.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/articles/web_only/compiled_models.html')
-rw-r--r--docs/articles/web_only/compiled_models.html23
1 files changed, 13 insertions, 10 deletions
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 @@
<li>
<a href="../../articles/web_only/NAFTA_examples.html">Example evaluation of NAFTA SOP Attachment examples</a>
</li>
+ <li>
+ <a href="../../articles/web_only/benchmarks.html">Some benchmark timings</a>
+ </li>
</ul>
</li>
<li>
@@ -97,10 +100,10 @@
<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-12</h4>
+ <h4 class="date">2020-05-14</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>
+ <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>
</div>
@@ -149,10 +152,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.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</code></pre>
+## 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</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">
@@ -178,9 +181,9 @@
}</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.476
-## 1 deSolve, not compiled 1 30.103 14.329</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.466
+## 1 deSolve, not compiled 1 30.942 14.419</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.2 on</p>
<pre><code>## R version 4.0.0 (2020-04-24)
## Platform: x86_64-pc-linux-gnu (64-bit)

Contact - Imprint