From d7d5b31e9352090fa598f50979d706d8e753ef9c Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Tue, 12 Jul 2022 12:10:59 +0200 Subject: Rerun benchmarks on desktop computer --- docs/articles/web_only/benchmarks.html | 31 ++++++++- docs/pkgdown.yml | 2 +- vignettes/mkin.html | 12 +++- vignettes/web_only/benchmarks.R | 112 +++++++++++++++++++++++++++++++++ vignettes/web_only/benchmarks.html | 51 +++++++++++---- vignettes/web_only/mkin_benchmarks.rda | Bin 1419 -> 1483 bytes 6 files changed, 193 insertions(+), 15 deletions(-) create mode 100644 vignettes/web_only/benchmarks.R diff --git a/docs/articles/web_only/benchmarks.html b/docs/articles/web_only/benchmarks.html index 2f7730bd..4e0cbba7 100644 --- a/docs/articles/web_only/benchmarks.html +++ b/docs/articles/web_only/benchmarks.html @@ -105,7 +105,7 @@

Benchmark timings for mkin

Johannes Ranke

-

Last change 1 July 2022 (rebuilt 2022-07-08)

+

Last change 1 July 2022 (rebuilt 2022-07-12)

Source: vignettes/web_only/benchmarks.rmd @@ -317,6 +317,14 @@ 1.644 3.172 + +Linux +Ryzen 7 1700 +4.2.1 +1.1.1 +1.809 +3.468 + @@ -470,6 +478,15 @@ 5.839 2.444 + +Linux +Ryzen 7 1700 +4.2.1 +1.1.1 +1.336 +5.820 +2.621 + @@ -671,6 +688,18 @@ 1.658 2.472 + +Linux +Ryzen 7 1700 +4.2.1 +1.1.1 +0.707 +1.148 +1.339 +2.812 +1.752 +2.594 + diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 19332d6b..87309c06 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -11,7 +11,7 @@ articles: benchmarks: web_only/benchmarks.html compiled_models: web_only/compiled_models.html dimethenamid_2018: web_only/dimethenamid_2018.html -last_built: 2022-07-08T15:33Z +last_built: 2022-07-12T10:10Z urls: reference: https://pkgdown.jrwb.de/mkin/reference article: https://pkgdown.jrwb.de/mkin/articles diff --git a/vignettes/mkin.html b/vignettes/mkin.html index 1f35e9bd..0d5ed6fc 100644 --- a/vignettes/mkin.html +++ b/vignettes/mkin.html @@ -1303,6 +1303,8 @@ window.initializeCodeFolding = function(show) { // select all R code blocks var rCodeBlocks = $('pre.r, pre.python, pre.bash, pre.sql, pre.cpp, pre.stan, pre.julia, pre.foldable'); rCodeBlocks.each(function() { + // skip if the block has fold-none class + if ($(this).hasClass('fold-none')) return; // create a collapsable div to wrap the code in var div = $('
'); @@ -1318,7 +1320,9 @@ window.initializeCodeFolding = function(show) { showCodeButton.append(showCodeText); showCodeButton .attr('data-toggle', 'collapse') + .attr('data-bs-toggle', 'collapse') // BS5 .attr('data-target', '#' + id) + .attr('data-bs-target', '#' + id) // BS5 .attr('aria-expanded', showThis) .attr('aria-controls', id); @@ -1402,6 +1406,7 @@ if (window.hljs) { +