diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2023-02-13 06:23:02 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2023-02-13 06:23:02 +0100 |
commit | 19861806ed790dc55380c64c6a5e27ba7ecd52de (patch) | |
tree | d33be92ab644e81e7ffc0c6a6e7e22af4c48005d /vignettes/web_only | |
parent | 8d1a84ac2190538ed3bac53a303064e281595868 (diff) |
WIP adapting to new deSolve with faster lsoda
Diffstat (limited to 'vignettes/web_only')
-rw-r--r-- | vignettes/web_only/benchmarks.html | 99 | ||||
-rw-r--r-- | vignettes/web_only/mkin_benchmarks.rda | bin | 1722 -> 1777 bytes |
2 files changed, 83 insertions, 16 deletions
diff --git a/vignettes/web_only/benchmarks.html b/vignettes/web_only/benchmarks.html index 451d8afe..fb799462 100644 --- a/vignettes/web_only/benchmarks.html +++ b/vignettes/web_only/benchmarks.html @@ -1592,7 +1592,7 @@ div.tocify { <h1 class="title toc-ignore">Benchmark timings for mkin</h1> <h4 class="author">Johannes Ranke</h4> -<h4 class="date">Last change 14 July 2022 (rebuilt 2023-01-05)</h4> +<h4 class="date">Last change 14 July 2022 (rebuilt 2023-02-13)</h4> </div> @@ -1636,11 +1636,31 @@ FOMC_SFO <- mkinmod( DFOP_SFO <- mkinmod( parent = mkinsub("FOMC", "m1"), # erroneously used FOMC twice, not fixed for consistency m1 = mkinsub("SFO")) -t3 <- system.time(mmkin_bench(list(SFO_SFO, FOMC_SFO, DFOP_SFO), list(FOCUS_D)))[["elapsed"]] -t4 <- system.time(mmkin_bench(list(SFO_SFO, FOMC_SFO, DFOP_SFO), list(FOCUS_D), - error_model = "tc"))[["elapsed"]] -t5 <- system.time(mmkin_bench(list(SFO_SFO, FOMC_SFO, DFOP_SFO), list(FOCUS_D), +t3 <- system.time(mmkin_bench(list(SFO_SFO, FOMC_SFO, DFOP_SFO), list(FOCUS_D)))[["elapsed"]]</code></pre> +<pre><code>## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable +## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable</code></pre> +<pre class="r"><code>t4 <- system.time(mmkin_bench(list(SFO_SFO, FOMC_SFO, DFOP_SFO), list(FOCUS_D), + error_model = "tc"))[["elapsed"]]</code></pre> +<pre><code>## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable +## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable +## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable +## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable</code></pre> +<pre class="r"><code>t5 <- system.time(mmkin_bench(list(SFO_SFO, FOMC_SFO, DFOP_SFO), list(FOCUS_D), error_model = "obs"))[["elapsed"]]</code></pre> +<pre><code>## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable +## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable +## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable +## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable</code></pre> <p>Two metabolites, synthetic data:</p> <pre class="r"><code>m_synth_SFO_lin <- mkinmod(parent = mkinsub("SFO", "M1"), M1 = mkinsub("SFO", "M2"), @@ -1656,18 +1676,36 @@ SFO_lin_a <- synthetic_data_for_UBA_2014[[1]]$data DFOP_par_c <- synthetic_data_for_UBA_2014[[12]]$data -t6 <- system.time(mmkin_bench(list(m_synth_SFO_lin), list(SFO_lin_a)))[["elapsed"]] -t7 <- system.time(mmkin_bench(list(m_synth_DFOP_par), list(DFOP_par_c)))[["elapsed"]] - -t8 <- system.time(mmkin_bench(list(m_synth_SFO_lin), list(SFO_lin_a), - error_model = "tc"))[["elapsed"]] -t9 <- system.time(mmkin_bench(list(m_synth_DFOP_par), list(DFOP_par_c), - error_model = "tc"))[["elapsed"]] - -t10 <- system.time(mmkin_bench(list(m_synth_SFO_lin), list(SFO_lin_a), - error_model = "obs"))[["elapsed"]] -t11 <- system.time(mmkin_bench(list(m_synth_DFOP_par), list(DFOP_par_c), +t6 <- system.time(mmkin_bench(list(m_synth_SFO_lin), list(SFO_lin_a)))[["elapsed"]]</code></pre> +<pre><code>## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable</code></pre> +<pre class="r"><code>t7 <- system.time(mmkin_bench(list(m_synth_DFOP_par), list(DFOP_par_c)))[["elapsed"]]</code></pre> +<pre><code>## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable</code></pre> +<pre class="r"><code>t8 <- system.time(mmkin_bench(list(m_synth_SFO_lin), list(SFO_lin_a), + error_model = "tc"))[["elapsed"]]</code></pre> +<pre><code>## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable +## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable</code></pre> +<pre class="r"><code>t9 <- system.time(mmkin_bench(list(m_synth_DFOP_par), list(DFOP_par_c), + error_model = "tc"))[["elapsed"]]</code></pre> +<pre><code>## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable +## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable</code></pre> +<pre class="r"><code>t10 <- system.time(mmkin_bench(list(m_synth_SFO_lin), list(SFO_lin_a), + error_model = "obs"))[["elapsed"]]</code></pre> +<pre><code>## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable +## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable</code></pre> +<pre class="r"><code>t11 <- system.time(mmkin_bench(list(m_synth_DFOP_par), list(DFOP_par_c), error_model = "obs"))[["elapsed"]]</code></pre> +<pre><code>## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable +## Error in mkinmod[["symbols"]] : +## object of type 'closure' is not subsettable</code></pre> </div> <div id="results" class="section level2"> <h2>Results</h2> @@ -1858,6 +1896,14 @@ models fitted to two datasets, i.e. eight fits for each test.</p> <td align="right">1.308</td> <td align="right">1.793</td> </tr> +<tr class="odd"> +<td align="left">Linux</td> +<td align="left">Ryzen 9 7950X 16-Core Processor</td> +<td align="left">4.2.2</td> +<td align="left">1.3.0</td> +<td align="right">1.271</td> +<td align="right">1.787</td> +</tr> </tbody> </table> </div> @@ -2068,6 +2114,15 @@ for each test.</p> <td align="right">2.364</td> <td align="right">1.230</td> </tr> +<tr class="odd"> +<td align="left">Linux</td> +<td align="left">Ryzen 9 7950X 16-Core Processor</td> +<td align="left">4.2.2</td> +<td align="left">1.3.0</td> +<td align="right">0.526</td> +<td align="right">0.623</td> +<td align="right">0.631</td> +</tr> </tbody> </table> </div> @@ -2344,6 +2399,18 @@ dataset, i.e. one fit for each test.</p> <td align="right">0.801</td> <td align="right">1.093</td> </tr> +<tr class="odd"> +<td align="left">Linux</td> +<td align="left">Ryzen 9 7950X 16-Core Processor</td> +<td align="left">4.2.2</td> +<td align="left">1.3.0</td> +<td align="right">0.242</td> +<td align="right">0.237</td> +<td align="right">0.238</td> +<td align="right">0.239</td> +<td align="right">0.237</td> +<td align="right">0.237</td> +</tr> </tbody> </table> </div> diff --git a/vignettes/web_only/mkin_benchmarks.rda b/vignettes/web_only/mkin_benchmarks.rda Binary files differindex 64ac2680..93138541 100644 --- a/vignettes/web_only/mkin_benchmarks.rda +++ b/vignettes/web_only/mkin_benchmarks.rda |