XCTStorageMetric
A metric to record the amount of data that a performance test logically writes to storage.
Declaration
class XCTStorageMetricOverview
XCTStorageMetric records the amount of data logically written to the disk in the block argument to measure(metrics:block:). The logical size of data written is the number of bytes in all requests to write to the disk. The logical size can be different from the size of physically written data, based on how the file system organizes data, and the fact that the disk controller replaces content in fixed-size blocks.