bench icon indicating copy to clipboard operation
bench copied to clipboard

High Precision Timing of R Expressions

Results 27 bench issues
Sort by recently updated
recently updated
newest added

Done on web UI so no devtools::document() here (sorry)

Am using `bench::bench_memory` (extracting `mem_alloc` or total memory allocations) for computing the memory usage for an R algorithm passed as an expression to my function [`asymptoticMemoryUsage`](https://github.com/Anirban166/testComplexity/blob/master/R/asymptoticMemoryUsage.R), which is then passed...

reprex

When benchmarking code that produces side-effect, it is common to have to *undo* the side-effect on every iteration. One example is benchmarking any `data.table`-native code, where the original frame is...

I've been looking at this and think it would be great for this action to support R projects: https://github.com/marketplace/actions/continuous-benchmark I'm not sure how much effort would be required to make...

feature

I think this would sort it, doesn't need long description. Just a starter for 10 @jimhester to avoid other people getting confused by the issue documented in #87.

```r bench::mark( identity(NULL), identity(NA), check = FALSE, iterations = 100000 ) #> # A tibble: 2 × 13 #> expression min median `itr/sec` mem_alloc `gc/sec` n_itr #> #> 1 identity(NULL)...

Thanks for this great package! Would it be possible that `summary(., relative=TRUE)` prints relative time with respect to the minimum of each parameter group when using `press`? If one uses...

feature

e.g. https://soft-dev.org/src/libkalibera/ R core member Tomas Kalibera is the first author on the cited papers, seems only right that there is an implementation in R :)

feature

Currently this example won't output as one would expect with a tibble ````md --- title: "test" output: html_document: df_print: paged --- ```{r} n #> 1 sort(sample.int(n), method = "radix") 33.7us...