Skip to content

Commit 630bacd

Browse files
update vignette on performance.
1 parent cb2e0f5 commit 630bacd

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

vignettes/performance_improvements.Rmd

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,27 @@ microbenchmark::microbenchmark(
7373
#> base 930.4391 944.9253 969.2838 951.4632 951.6571 1067.934 5
7474
```
7575

76+
Various changes (positive and negative in terms of speed)
77+
```{r}
78+
microbenchmark::microbenchmark(
79+
base = style_file("tests/testthat/indention_multiple/overall-in.R"),
80+
times = 10
81+
)
82+
#> Unit: seconds
83+
#> expr min lq mean median uq max neval
84+
#> base 1.235749 1.259139 1.269869 1.269396 1.275887 1.330341 10
85+
86+
```
87+
88+
89+
Removed tibble bottlenecks (tibble 1.4.2, https://github.com/tidyverse/tibble/pull/348)
90+
```{r}
91+
microbenchmark::microbenchmark(
92+
base = style_file("tests/testthat/indention_multiple/overall-in.R"),
93+
times = 10
94+
)
95+
#> Unit: milliseconds
96+
#> expr min lq mean median uq max neval
97+
#> base 514.9392 520.5061 587.6329 530.3154 548.7248 989.3332 10
98+
99+
```

0 commit comments

Comments
 (0)