Artifact c3850715605e3332014d6ae3dcaec7b0fca910c35a1fade1ea85dc70ccedeec6:
- File
bench/pic_bench.c
-
2026-11-19 01:15:51
— part of check-in
[0e4ade46bb]
on branch stage-4
— Benchmark each decoder and parse a chat chunk in one cached query
make bench-pic now decodes one realistic reply (500 text deltas and a 50-piece tool call) per API. It showed the Chat Completions decoder at 9.8ms against 1.3ms for the Messages API decoder, because it compiled about ten statements per chunk; one cached query per chunk and per tool delta brings it to 1.9ms. The baseline gains the decoder rows. (user: dmestas, size: 16150) [annotate] [blame] [check-ins using]
-
2026-11-19 01:39:38
— part of check-in
[aca81cd9e3]
on branch trunk
— Land stage 4: any model
A model registry, a provider-neutral journal, and adapters for the Messages API, Chat Completions (OpenAI, OpenRouter and compatible servers) and OpenAI Responses, with conversations moving between them. (user: dmestas, size: 16150) [annotate] [blame] [check-ins using]
-
2026-11-19 01:15:51
— part of check-in
[0e4ade46bb]
on branch stage-4
— Benchmark each decoder and parse a chat chunk in one cached query