Skip to content

Every agent's model. One place. Codex on DeepSeek, Claude Code on Kimi, from the menu bar.

293 B
Raw Blame
package gateway

import (
	"testing"
	"time"
)

func BenchmarkReasoningTiming(b *testing.B) {
	ev := []byte(`data: {"choices":[{"delta":{"reasoning_content":"The user wants a file written."}}]}` + "\n\n")
	b.ReportAllocs()
	for b.Loop() {
		f := firstToken{start: time.Now()}
		f.see(ev)
	}
}