Skip to content

Commit 648aa96

Browse files
committed
docs: Simplify log_latency docstring
1 parent f98d22a commit 648aa96

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/databricks/sql/telemetry/latency_logger.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,6 @@ def log_latency(statement_type: StatementType = StatementType.NONE):
157157
data about the operation, including latency, statement information, and
158158
execution context.
159159
160-
OPTIMIZATIONS APPLIED:
161-
- Uses time.monotonic() for timing measurements
162-
- Direct attribute access instead of wrapper extractor objects
163-
- Dict-based data collection to minimize object creation overhead
164-
- Early exit with cached telemetry flag to skip processing when disabled
165-
166160
Args:
167161
statement_type (StatementType): The type of SQL statement being executed.
168162

0 commit comments

Comments
 (0)