Skip to content

Commit

Permalink
docs: Updated benchmarking article to include data from SAS implement…
Browse files Browse the repository at this point in the history
…ation of GIGS
  • Loading branch information
simpar1471 committed Nov 26, 2024
1 parent 8c39f93 commit f60de94
Show file tree
Hide file tree
Showing 5 changed files with 458 additions and 136 deletions.
7 changes: 4 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ inputs. The code used to generate these timings can be seen online in the
[article](https://lshtm-gigs.github.io/gigs/articles/benchmarking.html).

| Software | Platform | WHO (0-5 years) (ms) | `r ig21st` NBS (ms) | `r ig21st` PNG (ms) | `r ig21st` Fetal (ms) |
|:----------------|----------|-------------------------------------------|----------------------------------------|----------------------------------------|-----------------------------------------|
|-----------------|----------|-------------------------------------------|----------------------------------------|----------------------------------------|-----------------------------------------|
| `r gigs_r` | R | `r max_len_bench[[1]][["gigs"]]` | `r max_len_bench[[2]][["gigs"]]` | `r max_len_bench[[3]][["gigs"]]` | `r max_len_bench[[4]][["gigs"]]` |
| `r anthro` | R | `r max_len_bench[[1]][["anthro"]]` | `r no` | `r no` | `r no` |
| `r AGD` | R | `r max_len_bench[[1]][["AGD"]]` | `r no` | `r no` | `r no` |
Expand All @@ -445,8 +445,9 @@ inputs. The code used to generate these timings can be seen online in the
| `r intergrowth` | R | `r no` | `r no` | `r no` | `r max_len_bench[[4]][["intergrowth"]]` |
| `r sitar` | R | `r max_len_bench[[1]][["sitar"]]` | `r no` | `r no` | `r no` |
| `r zscorer` | R | NA | `r no` | `r no` | `r no` |
| `r gigs_stata` | Stata | `r max_len_bench[[1]][["stata_gigs"]]` | `r max_len_bench[[2]][["stata_gigs"]]` | `r max_len_bench[[3]][["stata_gigs"]]` | `r max_len_bench[[4]][["stata_gigs"]]` |
| `r zanthro` | Stata | `r max_len_bench[[1]][["stata_zanthro"]]` | `r no` | `r no` | `r no` |
| `r gigs_stata` | Stata | `r max_len_bench[[1]][["gigs_stata"]]` | `r max_len_bench[[2]][["gigs_stata"]]` | `r max_len_bench[[3]][["gigs_stata"]]` | `r max_len_bench[[4]][["gigs_stata"]]` |
| `r zanthro` | Stata | `r max_len_bench[[1]][["zanthro_stata"]]` | `r no` | `r no` | `r no` |
| `r gigs_sas` | SAS | `r max_len_bench[[1]][["gigs_sas"]]` | `r max_len_bench[[2]][["gigs_sas"]]` | `r max_len_bench[[3]][["gigs_sas"]]` | `r max_len_bench[[4]][["gigs_sas"]]` |

Note: `zscorer` is NA because we couldn't time it for 100,000 inputs (it takes
too long).
Expand Down
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -472,17 +472,18 @@ timings can be seen online in the **gigs** benchmarking
[article](https://lshtm-gigs.github.io/gigs/articles/benchmarking.html).

| Software | Platform | WHO (0-5 years) (ms) | IG-21<sup>st</sup> NBS (ms) | IG-21<sup>st</sup> PNG (ms) | IG-21<sup>st</sup> Fetal (ms) |
|:------------------------------------------------------------------------------------|----------|----------------------|-----------------------------|-----------------------------|-------------------------------|
| [gigs](https://www.github.com/lshtm-gigs/gigs/) | R | 92 | 85 | 23 | 11 |
| [anthro](https://cran.r-project.org/web/packages/anthro/index.html) | R | 1974 ||||
| [AGD](https://cran.r-project.org/web/packages/AGD/index.html) | R | 120 ||||
| [childsds](https://cran.r-project.org/web/packages/childsds/index.html) | R | 118 ||||
| [ki-tools/growthstandards](https://www.github.com/ki-tools/growthstandards/) | R | 90 | 75 | 43 | 13 |
| [nutriverse/intergrowth](https://github.com/nutriverse/intergrowth/) | R |||| 17 |
| [sitar](https://cran.r-project.org/web/packages/sitar/index.html) | R | 45 ||||
|-------------------------------------------------------------------------------------|----------|----------------------|-----------------------------|-----------------------------|-------------------------------|
| [gigs](https://www.github.com/lshtm-gigs/gigs/) | R | 98 | 78 | 20 | 10 |
| [anthro](https://cran.r-project.org/web/packages/anthro/index.html) | R | 2162 ||||
| [AGD](https://cran.r-project.org/web/packages/AGD/index.html) | R | 119 ||||
| [childsds](https://cran.r-project.org/web/packages/childsds/index.html) | R | 127 ||||
| [ki-tools/growthstandards](https://www.github.com/ki-tools/growthstandards/) | R | 91 | 70 | 41 | 11 |
| [nutriverse/intergrowth](https://github.com/nutriverse/intergrowth/) | R |||| 18 |
| [sitar](https://cran.r-project.org/web/packages/sitar/index.html) | R | 46 ||||
| [zscorer](https://cran.r-project.org/web/packages/zscorer/index.html) | R | NA ||||
| [gigs](https://www.github.com/lshtm-gigs/gigs-stata/) (Stata) | Stata | 405 | 471 | 164 | 93 |
| [zanthro](https://journals.sagepub.com/doi/epdf/10.1177/1536867X1301300211) (Stata) | Stata | 2046 ||||
| [gigs](https://www.github.com/lshtm-gigs/gigs-stata/) (Stata) | Stata | 348 | 377 | 109 | 57 |
| [zanthro](https://journals.sagepub.com/doi/epdf/10.1177/1536867X1301300211) (Stata) | Stata | 1059 ||||
| [gigs](https://github.com/SASPAC/gigs/) (SAS) | SAS | 181 | 184 | 88 | 87 |

Note: `zscorer` is NA because we couldn’t time it for 100,000 inputs (it
takes too long).
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@
},
"SystemRequirements": null
},
"fileSize": "2268.162KB",
"fileSize": "2268.377KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand Down
Loading

0 comments on commit f60de94

Please sign in to comment.