diff options
Diffstat (limited to 'docs/dev/articles/web_only/compiled_models.html')
-rw-r--r-- | docs/dev/articles/web_only/compiled_models.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/dev/articles/web_only/compiled_models.html b/docs/dev/articles/web_only/compiled_models.html index 7b5dc8ca..997e90ea 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-danger" data-toggle="tooltip" data-placement="bottom" title="In-development version">0.9.50.3</span> + <span class="version label label-info" data-toggle="tooltip" data-placement="bottom" title="In-development version">0.9.50.3</span> </span> </div> @@ -153,10 +153,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.202 -## 3 deSolve, compiled 1 1.703 0.344 -## 2 Eigenvalue based 1 1.990 0.402 -## 1 deSolve, not compiled 1 40.173 8.115</code></pre> +## 4 analytical 1 1.000 0.201 +## 3 deSolve, compiled 1 1.711 0.344 +## 2 Eigenvalue based 1 1.960 0.394 +## 1 deSolve, not compiled 1 39.881 8.016</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"> @@ -182,8 +182,8 @@ }</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.469 -## 1 deSolve, not compiled 1 30.384 14.250</code></pre> +## 2 deSolve, compiled 1 1.000 0.467 +## 1 deSolve, not compiled 1 30.244 14.124</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.3 on</p> <pre><code>## R version 4.0.0 (2020-04-24) |