diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2017-11-16 17:13:35 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2017-11-16 17:13:35 +0100 |
commit | 1511ed0a775e15ec2158e22d08a4da00cdd834aa (patch) | |
tree | f75cf31b069e1c2f7e101fb323d8b2f1ef1372c8 /docs/articles/compiled_models.html | |
parent | 5a4653a14f545833ee461edb26ac7fecc2e22f60 (diff) |
Use html_vignette for FOCUS_D vignette, fix addressv0.9.46.3
Static documentation articles rebuilt by pkgdown::build_articles()
Diffstat (limited to 'docs/articles/compiled_models.html')
-rw-r--r-- | docs/articles/compiled_models.html | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/docs/articles/compiled_models.html b/docs/articles/compiled_models.html index af47841b..68aa1bac 100644 --- a/docs/articles/compiled_models.html +++ b/docs/articles/compiled_models.html @@ -62,14 +62,7 @@ <a href="../news/index.html">News</a> </li> </ul> -<ul class="nav navbar-nav navbar-right"> -<li> - <a href="http://github.com/jranke/mkin"> - <span class="fa fa-github fa-lg"></span> - - </a> -</li> - </ul> +<ul class="nav navbar-nav navbar-right"></ul> </div> <!--/.nav-collapse --> </div> @@ -84,7 +77,7 @@ <h1>Performance benefit by using compiled model definitions in mkin</h1> <h4 class="author">Johannes Ranke</h4> - <h4 class="date">2017-09-14</h4> + <h4 class="date">2017-11-16</h4> </div> @@ -98,13 +91,8 @@ <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>)</code></pre></div> -<pre><code>## Lade nötiges Paket: minpack.lm</code></pre> -<pre><code>## Lade nötiges Paket: rootSolve</code></pre> -<pre><code>## Lade nötiges Paket: inline</code></pre> -<pre><code>## Lade nötiges Paket: methods</code></pre> -<pre><code>## Lade nötiges Paket: parallel</code></pre> -<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r">SFO_SFO <-<span class="st"> </span><span class="kw"><a href="../reference/mkinmod.html">mkinmod</a></span>( +<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">library</span>(<span class="st">"mkin"</span>) +SFO_SFO <-<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> <pre><code>## Successfully compiled differential equation model from auto-generated C code.</code></pre> @@ -127,9 +115,9 @@ }</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.038 1.000 2.036 0 -## 1 deSolve, not compiled 3 14.822 7.273 14.824 0 -## 2 Eigenvalue based 3 2.543 1.248 2.544 0 +## 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 ## user.child sys.child ## 3 0 0 ## 1 0 0 @@ -158,14 +146,14 @@ }</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.488 1.000 3.488 0 -## 1 deSolve, not compiled 3 30.604 8.774 30.600 0 +## 2 deSolve, compiled 3 3.495 1.000 3.496 0 +## 1 deSolve, not compiled 3 29.264 8.373 29.260 0 ## user.child sys.child ## 2 0 0 ## 1 0 0</code></pre> -<p>Here we get a performance benefit of a factor of 9 using the version of the differential equation model compiled from C code!</p> -<p>This vignette was built with mkin 0.9.46.1 on</p> -<pre><code>## R version 3.4.1 (2017-06-30) +<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) ## 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> |