From 51d63256a7b3020ee11931d61b4db97b9ded02c0 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 16 Nov 2022 09:15:36 +0100 Subject: We get about 25% performance gain with the custom lsoda call, avoiding repeated getNativeSymbolInfo calls. It's just that we should not be calling foreign functions from different packages, because the may change without notice. Using getNativeSymbolInfo for "call_lsoda" avoids the CRAN note, and a similar call could probably be used for "unlock_solver", avoiding the NOTE in checks for cran, but we should not do this in a CRAN package. --- vignettes/web_only/saem_benchmarks.html | 59 ++++++++++++++++++++++++++------- 1 file changed, 47 insertions(+), 12 deletions(-) (limited to 'vignettes/web_only/saem_benchmarks.html') diff --git a/vignettes/web_only/saem_benchmarks.html b/vignettes/web_only/saem_benchmarks.html index 4875bb1b..714dc1ff 100644 --- a/vignettes/web_only/saem_benchmarks.html +++ b/vignettes/web_only/saem_benchmarks.html @@ -1599,7 +1599,7 @@ div.tocify {

Benchmark timings for saem.mmkin

Johannes Ranke

-

Last change 14 November 2022 (rebuilt 2022-11-14)

+

Last change 14 November 2022 (rebuilt 2022-11-15)

@@ -1781,10 +1781,20 @@ t11 <- system.time(sforb_sfo3_plus_const <- saem(three_met_sep_tc["SF Linux 1.2.0 3.2 -2.996 -5.207 -5.317 -5.171 +2.110 +4.632 +4.264 +4.930 + + +Ryzen 7 1700 +Linux +1.3.0 +3.2 +2.394 +4.748 +4.883 +4.937 @@ -1808,10 +1818,20 @@ t11 <- system.time(sforb_sfo3_plus_const <- saem(three_met_sep_tc["SF Linux 1.2.0 3.2 -5.671 -7.696 -8.166 -8.168 +5.602 +7.373 +7.815 +7.831 + + +Ryzen 7 1700 +Linux +1.3.0 +3.2 +5.622 +7.445 +8.297 +7.740 @@ -1836,8 +1856,16 @@ t11 <- system.time(sforb_sfo3_plus_const <- saem(three_met_sep_tc["SF Linux 1.2.0 3.2 -24.883 -818.157 +24.014 +749.699 + + +Ryzen 7 1700 +Linux +1.3.0 +3.2 +24.480 +519.087 @@ -1861,7 +1889,14 @@ t11 <- system.time(sforb_sfo3_plus_const <- saem(three_met_sep_tc["SF Linux 1.2.0 3.2 -1355.036 +1249.834 + + +Ryzen 7 1700 +Linux +1.3.0 +3.2 +944.471 -- cgit v1.2.1