| task_report | R Documentation |
Generates a report of task/chunk execution statistics from a shard_map result.
task_report(result = NULL)
result |
A |
An S3 object of class shard_report with type "task"
containing:
type: "task"
timestamp: When the report was generated
shards_total: Total number of shards
shards_processed: Number of shards successfully processed
shards_failed: Number of permanently failed shards
chunks_dispatched: Number of chunk batches dispatched
total_retries: Total number of retry attempts
duration: Total execution duration (seconds)
throughput: Shards processed per second
queue_status: Final queue status
res <- shard_map(shards(100, workers = 2), function(s) sum(s$idx), workers = 2)
pool_stop()
task_report(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.