llama_perf_print: Print performance statistics to the console

View source: R/llama.R

llama_perf_printR Documentation

Print performance statistics to the console

Description

Prints a formatted summary of timing and throughput statistics for the context (load time, prompt processing speed, generation speed). Output goes to the R console via the llama.cpp logging callback.

Usage

llama_perf_print(ctx)

Arguments

ctx

Context handle returned by [llama_new_context]

Value

No return value, called for side effects.


llamaR documentation built on May 28, 2026, 1:06 a.m.