dotTrace
 
2021.3
Get dotTrace
You are viewing the documentation for an earlier version of dotTrace.

File Operations

Last modified: 16 November 2021

The File Operations event indicates time intervals where file input/output operations took place. This includes reading from and writing to physical disk and system cache. Therefore, file I/O operations are not equal to disk I/O operations.

File operations are very important for performance analysis as access to file system might require significant time. For example, if your application frequently reads a particular file, it will be more effective to cache the file data.

Select the File Operations event to analyze file operations in your app: evaluate how file operations affect performance, what methods do most of the job, and so on. For example, to determine methods in a thread that perform the majority of file I/O operations, select the thread in the Threads diagram and the File Operations event in Events. The methods will be shown on top of the Methods and Subsystems in the Call Stack window.

When the File Operations event is selected, the Filters window contains sub-filters that allow you to refine the resulting filter: File Operations: File Name and File Operations: Direction.