TimingInfo

org.llm4s.rag.benchmark.TimingInfo
See theTimingInfo companion object
final case class TimingInfo(phase: String, duration: FiniteDuration, itemCount: Int)

Timing information for a benchmark phase.

Value parameters

duration

How long the phase took

itemCount

Number of items processed

phase

Name of the phase (e.g., "indexing", "search", "evaluation")

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def avgPerItem: Option[FiniteDuration]

Average time per item (if itemCount > 0)

Average time per item (if itemCount > 0)

Attributes

def formatted: String

Human-readable duration string

Human-readable duration string

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product