powered by
Generates a report of data transfer and copy statistics during parallel execution.
copy_report(result = NULL)
An S3 object of class shard_report with type "copy"
shard_report
"copy"
containing:
type: "copy"
type
timestamp: When the report was generated
timestamp
borrow_exports: Number of borrowed input exports
borrow_exports
borrow_bytes: Total bytes in borrowed inputs
borrow_bytes
result_imports: Number of result imports
result_imports
result_bytes: Estimated bytes in results
result_bytes
buffer_writes: Number of buffer write operations
buffer_writes
buffer_bytes: Total bytes written to buffers
buffer_bytes
Optional. A shard_result object to extract copy stats from.
shard_result
# \donttest{ res <- shard_map(shards(100, workers = 2), function(s) sum(s$idx), workers = 2) pool_stop() copy_report(res) # }
Run the code above in your browser using DataLab