powered by
Generates a report of task/chunk execution statistics from a shard_map result.
task_report(result = NULL)
An S3 object of class shard_report with type "task"
shard_report
"task"
containing:
type: "task"
type
timestamp: When the report was generated
timestamp
shards_total: Total number of shards
shards_total
shards_processed: Number of shards successfully processed
shards_processed
shards_failed: Number of permanently failed shards
shards_failed
chunks_dispatched: Number of chunk batches dispatched
chunks_dispatched
total_retries: Total number of retry attempts
total_retries
duration: Total execution duration (seconds)
duration
throughput: Shards processed per second
throughput
queue_status: Final queue status
queue_status
A shard_result object from shard_map.
shard_result
shard_map
# \donttest{ res <- shard_map(shards(100, workers = 2), function(s) sum(s$idx), workers = 2) pool_stop() task_report(res) # }
Run the code above in your browser using DataLab