diff --git a/utility/microbenchmark_results.csv b/utility/microbenchmark_results.csv index 7bf59441..3a08cbcd 100644 --- a/utility/microbenchmark_results.csv +++ b/utility/microbenchmark_results.csv @@ -1,43 +1,43 @@ -min,lq,mean,median,uq,max,neval -1.16,1.16,1.16,1.16,1.16,1.16,1 -1.83,1.83,1.83,1.83,1.83,1.83,1 -693.01,693.01,693.01,693.01,693.01,693.01,1 -3.69,3.69,3.69,3.69,3.69,3.69,1 -5.19,5.19,5.19,5.19,5.19,5.19,1 -805.32,805.32,805.32,805.32,805.32,805.32,1 -689.2,689.2,689.2,689.2,689.2,689.2,1 -573.82,573.82,573.82,573.82,573.82,573.82,1 -700.61,700.61,700.61,700.61,700.61,700.61,1 -615.47,615.47,615.47,615.47,615.47,615.47,1 -685.91,685.91,685.91,685.91,685.91,685.91,1 -702.75,702.75,702.75,702.75,702.75,702.75,1 -656.78,656.78,656.78,656.78,656.78,656.78,1 -664.89,664.89,664.89,664.89,664.89,664.89,1 -372.23,372.23,372.23,372.23,372.23,372.23,1 -848.39,848.39,848.39,848.39,848.39,848.39,1 -671.34,671.34,671.34,671.34,671.34,671.34,1 -1.05,1.05,1.05,1.05,1.05,1.05,1 -981.49,981.49,981.49,981.49,981.49,981.49,1 -626.57,626.57,626.57,626.57,626.57,626.57,1 -656.61,656.61,656.61,656.61,656.61,656.61,1 -642.03,642.03,642.03,642.03,642.03,642.03,1 -696.71,696.71,696.71,696.71,696.71,696.71,1 -694.78,694.78,694.78,694.78,694.78,694.78,1 -641.12,641.12,641.12,641.12,641.12,641.12,1 -752.85,752.85,752.85,752.85,752.85,752.85,1 -2.84,2.84,2.84,2.84,2.84,2.84,1 -2.33,2.33,2.33,2.33,2.33,2.33,1 -3.83,3.83,3.83,3.83,3.83,3.83,1 -3.5,3.5,3.5,3.5,3.5,3.5,1 -3.87,3.87,3.87,3.87,3.87,3.87,1 -4.96,4.96,4.96,4.96,4.96,4.96,1 -2.18,2.18,2.18,2.18,2.18,2.18,1 -3.69,3.69,3.69,3.69,3.69,3.69,1 -2.29,2.29,2.29,2.29,2.29,2.29,1 -2.3,2.3,2.3,2.3,2.3,2.3,1 -2.11,2.11,2.11,2.11,2.11,2.11,1 -3.3,3.3,3.3,3.3,3.3,3.3,1 -3.91,3.91,3.91,3.91,3.91,3.91,1 -13.27,13.27,13.27,13.27,13.27,13.27,1 -14.4,14.4,14.4,14.4,14.4,14.4,1 -41.54,41.54,41.54,41.54,41.54,41.54,1 +min,lq,mean,median,uq,max,neval,description,source +1.56,1.56,1.56,1.56,1.56,1.56,1,simple static (read-only) test project,ouhsc +2.08,2.08,2.08,2.08,2.08,2.08,1,longitudinal (read-only) ARM test project,ouhsc +841.23,841.23,841.23,841.23,841.23,841.23,1,simple write data,ouhsc +4.34,4.34,4.34,4.34,4.34,4.34,1,Russian Characters,ouhsc +6.67,6.67,6.67,6.67,6.67,6.67,1,"super-wide --3,000 columns",ouhsc +912.5,912.5,912.5,912.5,912.5,912.5,1,static (not longitudinal) survey test project,ouhsc +769.03,769.03,769.03,769.03,769.03,769.03,1,"Clinical Trial (Fake) --Read-only, contributed by @higgi13425",ouhsc +1.08,1.08,1.08,1.08,1.08,1.08,1,nonnumeric record_id,ouhsc +729.67,729.67,729.67,729.67,729.67,729.67,1,DAG Read,ouhsc +936.55,936.55,936.55,936.55,936.55,936.55,1,potentially problematic values,ouhsc +778.25,778.25,778.25,778.25,778.25,778.25,1,Repeating Instruments,ouhsc +1.62,1.62,1.62,1.62,1.62,1.62,1,simple write metadata,ouhsc +974.01,974.01,974.01,974.01,974.01,974.01,1,DAG Write -admin,ouhsc +791.47,791.47,791.47,791.47,791.47,791.47,1,DAG Write -group A,ouhsc +389.54,389.54,389.54,389.54,389.54,389.54,1,"super-wide #3--35,000 columns",ouhsc +827.92,827.92,827.92,827.92,827.92,827.92,1,Repeating Instruments --Sparse,ouhsc +636.88,636.88,636.88,636.88,636.88,636.88,1,Delete Single Arm,ouhsc +1.41,1.41,1.41,1.41,1.41,1.41,1,Delete Multiple Arm,ouhsc +1.14,1.14,1.14,1.14,1.14,1.14,1,longitudinal single arm,ouhsc +1.01,1.01,1.01,1.01,1.01,1.01,1,decimal comma and dot,ouhsc +997.98,997.98,997.98,997.98,997.98,997.98,1,decimal comma,ouhsc +900.25,900.25,900.25,900.25,900.25,900.25,1,decimal dot,ouhsc +1.04,1.04,1.04,1.04,1.04,1.04,1,Validation Types,ouhsc +1.03,1.03,1.03,1.03,1.03,1.03,1,Blank for Gray Status,ouhsc +903.09,903.09,903.09,903.09,903.09,903.09,1,Checkboxes 1,ouhsc +1.32,1.32,1.32,1.32,1.32,1.32,1,Vignette: Longitudinal & Repeating Measures,ouhsc +2.49,2.49,2.49,2.49,2.49,2.49,1,classic,redcaptidier +3.02,3.02,3.02,3.02,3.02,3.02,1,classic no repeat,redcaptidier +3.36,3.36,3.36,3.36,3.36,3.36,1,longitudinal,redcaptidier +3.67,3.67,3.67,3.67,3.67,3.67,1,longitudinal no arms,redcaptidier +5.06,5.06,5.06,5.06,5.06,5.06,1,longitudinal no repeat,redcaptidier +5.01,5.01,5.01,5.01,5.01,5.01,1,deep dive vignette,redcaptidier +2.11,2.11,2.11,2.11,2.11,2.11,1,repeat first instrument,redcaptidier +3.35,3.35,3.35,3.35,3.35,3.35,1,repeat event,redcaptidier +2.46,2.46,2.46,2.46,2.46,2.46,1,restricted access,redcaptidier +2,2,2,2,2,2,1,large sparse db,redcaptidier +1.94,1.94,1.94,1.94,1.94,1.94,1,data access groups,redcaptidier +3.28,3.28,3.28,3.28,3.28,3.28,1,longitudinal data access groups,redcaptidier +3.15,3.15,3.15,3.15,3.15,3.15,1,mixed structure repeat no repeat,redcaptidier +10.44,10.44,10.44,10.44,10.44,10.44,1,prodigy db,redcaptidier +15.1,15.1,15.1,15.1,15.1,15.1,1,cart comprehensive db,redcaptidier +48.32,48.32,48.32,48.32,48.32,48.32,1,bmt outcomes db,redcaptidier diff --git a/utility/test_creds.R b/utility/test_creds.R index 98e66109..97c51353 100644 --- a/utility/test_creds.R +++ b/utility/test_creds.R @@ -38,7 +38,7 @@ redcaptidier_creds <- tibble::tribble( ) # Combine Credentials -creds <- rbind(ouhsc_creds, redcaptidier_creds) +creds <- rbind(ouhsc_creds %>% mutate(source = "ouhsc"), redcaptidier_creds %>% mutate(source = "redcaptidier")) microbenchmark_fx <- function(redcap_uri, token, name, times = 1){ microbenchmark( @@ -58,4 +58,5 @@ for (i in seq_along(microbenchmark_results)) { out %>% select(-expr) %>% mutate(across(tidyselect::everything(), ~round(., digits = 2))) %>% + cbind(., "description" = creds$comment, "source" = creds$source) %>% readr::write_csv("utility/microbenchmark_results.csv")