diff options
Diffstat (limited to 'docs/articles/web_only')
-rw-r--r-- | docs/articles/web_only/compiled_models.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/articles/web_only/compiled_models.html b/docs/articles/web_only/compiled_models.html index e9f8fa99..fbf2de33 100644 --- a/docs/articles/web_only/compiled_models.html +++ b/docs/articles/web_only/compiled_models.html @@ -126,14 +126,14 @@ <a class="sourceLine" id="cb5-16" data-line-number="16">}</a></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.336 1.000 2.335 0 -## 1 deSolve, not compiled 3 17.610 7.539 17.602 0 -## 2 Eigenvalue based 3 2.899 1.241 2.897 0 +## 3 deSolve, compiled 3 2.484 1.000 2.483 0 +## 1 deSolve, not compiled 3 17.963 7.231 17.951 0 +## 2 Eigenvalue based 3 3.146 1.267 3.144 0 ## user.child sys.child ## 3 0 0 ## 1 0 0 ## 2 0 0</code></pre> -<p>We see that using the compiled model is by a factor of around 8 faster than using the R version with the default ode solver, and it is even faster than the Eigenvalue based solution implemented in R which does not need iterative solution of the ODEs.</p> +<p>We see that using the compiled model is by a factor of around 7 faster than using the R version with the default ode solver, and it is even faster than the Eigenvalue based solution implemented in R which does not need iterative solution of the ODEs.</p> </div> <div id="model-that-can-not-be-solved-with-eigenvalues" class="section level2"> <h2 class="hasAnchor"> @@ -157,8 +157,8 @@ <a class="sourceLine" id="cb8-16" data-line-number="16">}</a></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 4.122 1.000 4.119 0 -## 1 deSolve, not compiled 3 37.359 9.063 37.343 0 +## 2 deSolve, compiled 3 4.232 1.000 4.226 0.004 +## 1 deSolve, not compiled 3 37.946 8.966 37.924 0.000 ## user.child sys.child ## 2 0 0 ## 1 0 0</code></pre> |