Execute performance tests for a list of commitsSource:
Execute performance tests for a list of commits
benchmark( commit_list, cypress_dir = NULL, shinytest2_dir = NULL, tests_pattern = NULL, app_dir = getwd(), port = 3333, use_renv = TRUE, renv_prompt = TRUE, n_rep = 1, debug = FALSE )
A list of commit hash codes, branches' names or anything else you can use with git checkout ...
The directory with tests recorded by Cypress. It can also be a vector of the same size of commit_list
The directory with tests recorded by shinytest2 It can also be a vector of the same size of commit_list
Cypress/shinytest2 files pattern. E.g. 'performance' It can also be a vector of the same size of commit_list. If it is NULL, all the content in cypress_dir/shinytest2_dir will be used
The path to the application root
Port to run the app
In case it is set as TRUE, package will try to apply renv::restore() in all branches. Otherwise, the current loaded list of packages will be used in all branches.
Prompt the user before taking any action?
Number of replications desired
Logical. TRUE to display all the system messages on runtime