Skip to content

Bottlenecks in tar_make() if targets are up to date #1460

@wlandau

Description

@wlandau

Similar to #1458. In the following sequential pipeline:

library(targets)
list(
  tar_target(datasets, seq_len(1e5), memory = "persistent"),
  tar_target(models, datasets, pattern = map(datasets), retrieval = "main")
)

proffer::pprof(tar_make(callr_function = NULL)) takes 2.4 minutes and shows:

Image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions