menu_book Course Curriculum (Generative AI) expand_more
Model Inputs
Generation Controls
Grounding & Retrieval
Latency measurement
Learn Latency measurement in Generative AI with a focused explanation, a topic-specific example, and a mastery check.
12 min read
•
Intermediate
generative-ai-031.py
python
from time import perf_counter,sleep
start=perf_counter(); sleep(.01); elapsed=(perf_counter()-start)*1000
print(round(elapsed,2),'ms')
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content