lenskit.pipeline.ProfileSink#

class lenskit.pipeline.ProfileSink#

Bases: lenskit.logging.multiprocess.RecordSink[dict[str, float]], Protocol

Interface for creating recording pipeline run profiling information.

multiprocess()#

Obtain a version of this sink that can be shared across processes.

Return type:

ProfileSink

run_profiler()#

Get a profiler for a single run using this sink.

Return type:

RunProfiler