aboutsummaryrefslogtreecommitdiff
path: root/docs/articles/web_only/compiled_models.html
diff options
context:
space:
mode:
authorJohannes Ranke <johannes.ranke@jrwb.de>2025-05-12 22:16:10 +0200
committerJohannes Ranke <johannes.ranke@jrwb.de>2025-05-12 22:16:10 +0200
commitc58ccd73951b2000a7a254fb36bbd9f0733db6cd (patch)
tree82355963701c8efe4d85fd0202b08afcb440f8db /docs/articles/web_only/compiled_models.html
parenta789ea2ae74ae371476f0e1f035226d07a429a0b (diff)
Check and test locallyHEADmain
Diffstat (limited to 'docs/articles/web_only/compiled_models.html')
-rw-r--r--docs/articles/web_only/compiled_models.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/articles/web_only/compiled_models.html b/docs/articles/web_only/compiled_models.html
index bbf6e897..5790a964 100644
--- a/docs/articles/web_only/compiled_models.html
+++ b/docs/articles/web_only/compiled_models.html
@@ -20,7 +20,7 @@
<a class="navbar-brand me-2" href="../../index.html">mkin</a>
- <small class="nav-text text-default me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Released version">1.2.9</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Released version">1.2.10</small>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
@@ -83,7 +83,7 @@
<h4 data-toc-skip class="author">Johannes
Ranke</h4>
- <h4 data-toc-skip class="date">2025-02-13</h4>
+ <h4 data-toc-skip class="date">2025-05-12</h4>
<small class="dont-index">Source: <a href="https://github.com/jranke/mkin/blob/HEAD/vignettes/web_only/compiled_models.rmd" class="external-link"><code>vignettes/web_only/compiled_models.rmd</code></a></small>
<div class="d-none name"><code>compiled_models.rmd</code></div>
@@ -161,10 +161,10 @@ solution is also implemented, which is included in the tests below.</p>
<span> <span class="fu"><a href="https://rdrr.io/r/base/print.html" class="external-link">print</a></span><span class="op">(</span><span class="st">"R package rbenchmark is not available"</span><span class="op">)</span></span>
<span><span class="op">}</span></span></code></pre></div>
<pre><code><span><span class="co">## test replications relative elapsed</span></span>
-<span><span class="co">## 4 analytical 1 1.000 0.105</span></span>
-<span><span class="co">## 3 deSolve, compiled 1 1.333 0.140</span></span>
-<span><span class="co">## 2 Eigenvalue based 1 1.667 0.175</span></span>
-<span><span class="co">## 1 deSolve, not compiled 1 22.486 2.361</span></span></code></pre>
+<span><span class="co">## 4 analytical 1 1.000 0.111</span></span>
+<span><span class="co">## 3 deSolve, compiled 1 1.270 0.141</span></span>
+<span><span class="co">## 2 Eigenvalue based 1 1.658 0.184</span></span>
+<span><span class="co">## 1 deSolve, not compiled 1 21.973 2.439</span></span></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>
@@ -195,12 +195,12 @@ compiled code is available.</p>
<span><span class="op">}</span></span></code></pre></div>
<pre><code><span><span class="co">## Temporary DLL for differentials generated and loaded</span></span></code></pre>
<pre><code><span><span class="co">## test replications relative elapsed</span></span>
-<span><span class="co">## 2 deSolve, compiled 1 1.000 0.175</span></span>
-<span><span class="co">## 1 deSolve, not compiled 1 23.937 4.189</span></span></code></pre>
+<span><span class="co">## 2 deSolve, compiled 1 1.000 0.182</span></span>
+<span><span class="co">## 1 deSolve, not compiled 1 23.808 4.333</span></span></code></pre>
<p>Here we get a performance benefit of a factor of 24 using the version
of the differential equation model compiled from C code!</p>
-<p>This vignette was built with mkin 1.2.9 on</p>
-<pre><code><span><span class="co">## R version 4.4.2 (2024-10-31)</span></span>
+<p>This vignette was built with mkin 1.2.10 on</p>
+<pre><code><span><span class="co">## R version 4.5.0 (2025-04-11)</span></span>
<span><span class="co">## Platform: x86_64-pc-linux-gnu</span></span>
<span><span class="co">## Running under: Debian GNU/Linux 12 (bookworm)</span></span></code></pre>
<pre><code><span><span class="co">## CPU model: AMD Ryzen 9 7950X 16-Core Processor</span></span></code></pre>

Contact - Imprint