Class ProfilingItem
java.lang.Object
ai.docling.serve.api.convert.response.ProfilingItem
Represents per-stage timing measurements produced during a document conversion.
Serialization uses JsonInclude.Include.NON_EMPTY, so nulls and empty
collections are omitted from JSON output.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull ProfilingItem.Builderbuilder()getCount()Number of measurements recorded.getScope()Scope of the stage being measured.Start timestamps for each measurement.getTimes()Per-measurement durations in seconds.@NonNull ProfilingItem.Builder@NonNull StringtoString()
-
Method Details
-
builder
-
toBuilder
-
getScope
Scope of the stage being measured.- Returns:
- the profiling scope
-
getCount
Number of measurements recorded.- Returns:
- the measurement count
-
getTimes
Per-measurement durations in seconds.- Returns:
- the list of durations
-
getStartTimestamps
Start timestamps for each measurement.- Returns:
- the list of start timestamps
-
toString
-