| cow_report | R Documentation |
Generates a report of copy-on-write behavior for borrowed inputs.
cow_report(result = NULL)
result |
Optional. A |
An S3 object of class shard_report with type "cow"
containing:
type: "cow"
timestamp: When the report was generated
policy: The COW policy used ("deny", "audit", "allow")
violations: Count of COW violations detected (audit mode)
copies_triggered: Estimated copies triggered by mutations
res <- shard_map(shards(100, workers = 2), function(s) sum(s$idx), workers = 2)
pool_stop()
cow_report(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.