Skip to content

Commit

Permalink
Update performance testing
Browse files Browse the repository at this point in the history
  • Loading branch information
rstub committed Apr 23, 2024
1 parent bb35caf commit 128a3cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions touchstone/config.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"os": "ubuntu-latest",
"r": "4.3",
"rspm": "https://packagemanager.rstudio.com/all/__linux__/focal/2024-03-01",
// "benchmarking_repo": "lorenzwalthert/here",
// "benchmarking_ref": "ca9c8e69c727def88d8ba1c8b85b0e0bcea87b3f",
"benchmarking_path": "touchstone/sources/here",
"rspm": "https://packagemanager.rstudio.com/all/__linux__/jammy/latest"
}
6 changes: 3 additions & 3 deletions touchstone/script.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ touchstone::branch_install()
# benchmark a function call from your package (two calls per branch)
touchstone::benchmark_run(
# expr_before_benchmark = source("dir/data.R"), #<-- TODO OTPIONAL setup before benchmark
runif_test = dqrng::dqrunif(1e6), #<- TODO put the call you want to benchmark here
runif_test = dqrng::dqrunif(1e7), #<- TODO put the call you want to benchmark here
n = 10
)

# benchmark a function call from your package (two calls per branch)
touchstone::benchmark_run(
# expr_before_benchmark = source("dir/data.R"), #<-- TODO OTPIONAL setup before benchmark
rnorm_test = dqrng::dqrnorm(1e6), #<- TODO put the call you want to benchmark here
rnorm_test = dqrng::dqrnorm(1e7), #<- TODO put the call you want to benchmark here
n = 10
)

# benchmark a function call from your package (two calls per branch)
touchstone::benchmark_run(
# expr_before_benchmark = source("dir/data.R"), #<-- TODO OTPIONAL setup before benchmark
rexp_test = dqrng::dqrexp(1e6), #<- TODO put the call you want to benchmark here
rexp_test = dqrng::dqrexp(1e7), #<- TODO put the call you want to benchmark here
n = 10
)

Expand Down

0 comments on commit 128a3cd

Please sign in to comment.