aboutsummaryrefslogtreecommitdiff
path: root/docs/articles/compiled_models.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/articles/compiled_models.html')
-rw-r--r--docs/articles/compiled_models.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/articles/compiled_models.html b/docs/articles/compiled_models.html
index 68aa1bac..4c850d14 100644
--- a/docs/articles/compiled_models.html
+++ b/docs/articles/compiled_models.html
@@ -77,7 +77,7 @@
<h1>Performance benefit by using compiled model definitions in mkin</h1>
<h4 class="author">Johannes Ranke</h4>
- <h4 class="date">2017-11-16</h4>
+ <h4 class="date">2018-01-14</h4>
</div>
@@ -91,7 +91,7 @@
<pre><code>## gcc
## "/usr/bin/gcc"</code></pre>
<p>First, we build a simple degradation model for a parent compound with one metabolite.</p>
-<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">library</span>(<span class="st">"mkin"</span>)
+<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">library</span>(<span class="st">"mkin"</span>, <span class="dt">quietly =</span> <span class="ot">TRUE</span>)
SFO_SFO &lt;-<span class="st"> </span><span class="kw"><a href="../reference/mkinmod.html">mkinmod</a></span>(
<span class="dt">parent =</span> <span class="kw"><a href="../reference/mkinsub.html">mkinsub</a></span>(<span class="st">"SFO"</span>, <span class="st">"m1"</span>),
<span class="dt">m1 =</span> <span class="kw"><a href="../reference/mkinsub.html">mkinsub</a></span>(<span class="st">"SFO"</span>))</code></pre></div>
@@ -115,9 +115,9 @@ SFO_SFO &lt;-<span class="st"> </span><span class="kw"><a href="../reference/mki
}</code></pre></div>
<pre><code>## Lade nötiges Paket: rbenchmark</code></pre>
<pre><code>## test replications elapsed relative user.self sys.self
-## 3 deSolve, compiled 3 2.029 1.000 2.028 0
-## 1 deSolve, not compiled 3 14.237 7.017 14.236 0
-## 2 Eigenvalue based 3 2.700 1.331 2.700 0
+## 3 deSolve, compiled 3 2.083 1.000 2.084 0.000
+## 1 deSolve, not compiled 3 14.501 6.962 14.472 0.016
+## 2 Eigenvalue based 3 2.566 1.232 2.564 0.000
## user.child sys.child
## 3 0 0
## 1 0 0
@@ -146,14 +146,14 @@ SFO_SFO &lt;-<span class="st"> </span><span class="kw"><a href="../reference/mki
}</code></pre></div>
<pre><code>## Successfully compiled differential equation model from auto-generated C code.</code></pre>
<pre><code>## test replications elapsed relative user.self sys.self
-## 2 deSolve, compiled 3 3.495 1.000 3.496 0
-## 1 deSolve, not compiled 3 29.264 8.373 29.260 0
+## 2 deSolve, compiled 3 3.534 1.000 3.532 0.000
+## 1 deSolve, not compiled 3 29.973 8.481 29.960 0.004
## user.child sys.child
## 2 0 0
## 1 0 0</code></pre>
<p>Here we get a performance benefit of a factor of 8 using the version of the differential equation model compiled from C code!</p>
-<p>This vignette was built with mkin 0.9.46.2 on</p>
-<pre><code>## R version 3.4.2 (2017-09-28)
+<p>This vignette was built with mkin 0.9.47.1 on</p>
+<pre><code>## R version 3.4.3 (2017-11-30)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Debian GNU/Linux 9 (stretch)</code></pre>
<pre><code>## CPU model: Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz</code></pre>

Contact - Imprint