Skip to content

Commit

Permalink
memory=NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
tdhock committed Apr 12, 2024
1 parent 200f184 commit 7e425ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Changes in version 2024.4.12

- atime_pkg gains tests.dir arg.
- atime_pkg gains tests.dir arg, thanks @MichaelChirico for the suggestion.
- atime no longer keeps memory column (sometimes too large) from bench::mark.

Changes in version 2024.3.5

Expand Down
6 changes: 5 additions & 1 deletion R/atime.R
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,11 @@ atime <- function(N, setup, expr.list=NULL, times=10, seconds.limit=0.01, verbos
N.stats <- data.table(N=N.value, expr.name=not.done.yet, N.df)
N.stats[, `:=`(
kilobytes=as.numeric(mem_alloc)/1024,
mem_alloc=NULL, total_time=NULL, expression=NULL)]
memory=NULL,
mem_alloc=NULL,
total_time=NULL,
expression=NULL
)]
summary.funs <- list(
median=median, min=min,
q25=function(x)quantile(x,0.25),
Expand Down

0 comments on commit 7e425ba

Please sign in to comment.