Skip to content

Accurately capturing timing of pipelines and targets with tar_make_clustermq() #424

Closed Answered by wlandau
ajjitn asked this question in Help
Discussion options

You must be logged in to vote

As you say, targets computes the elapsed runtime at a granular level. For a non-branching target or an individual branch, this is just the number of seconds it took to run the last time it was not skipped. For a branching target, the runtime is the sum of the last runtimes of all the branches. These results do not depend on which targets were skipped last, and they do not depend on the number of parallel workers, which could vary from run to run based on the user's choice. These decisions make the reported times more reliable and consistent than otherwise.

If you invoke tar_make_clustermq() from inside a script and run the script with R CMD BATCH, then the .Rout file will report the elaps…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ajjitn
Comment options

@wlandau
Comment options

Answer selected by ajjitn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants