Module directory_benchmarks

Source

Structs§

DirectoryTreeStructure
Describes the structure of a directory tree to be benchmarked.
GitStatus
A benchmark that mimics the filesystem usage pattern of git status.
OpenDeeplyNestedFile
A benchmark that measures how long it takes to open a file from a path that contains multiple directories. A distinct path and file is used for each iteration.
OpenFd
OpenFile
A benchmark that measures how long it takes to open a file. A distinct file is used for each iteration.
StatPath
A benchmark that measures how long it takes to call stat on a path to a file. A distinct file is used for each iteration.
WalkDirectoryTreeCold
A benchmark that measures how long it takes to walk a directory that should not already be cached in memory.
WalkDirectoryTreeWarm
A benchmark that measures how long it takes to walk a directory that was recently accessed and may be cached in memory.

Functions§

dir_name
file_name
open_path
open_path_at
path_buf_to_c_string
stat_path_at