Skip to content

NullStorageHandler

NullStorageHandler

class NullStorageHandler(path)[source]

Storage handler for no file access.

Does not save or load any results, used when no path is provided.

Saving has no effect, and load will always return empty data.

Parameters:
pathstr, or Path coercible

The path to the file to save to or load. Ignored, exists for API compatibility.

Methods

is_applicable(path)

Return whether this handler supports the given results file path.

load()

Load benchmark results from the file at self.path.

save(results)

Save the results - dummy method without any effect.