From afef340eb873a110cf8472daeb2fb036cb0f169a Mon Sep 17 00:00:00 2001 From: jaakko Date: Tue, 14 Apr 2026 23:36:29 +0300 Subject: [PATCH] =?UTF-8?q?CodeBench:=20file-by-file=20logiin=20tokenit,?= =?UTF-8?q?=20rivim=C3=A4=C3=A4r=C3=A4=20ja=20tok/s=20per=20tiedosto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kipina-codebench/benchmark.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kipina-codebench/benchmark.mjs b/kipina-codebench/benchmark.mjs index 17db719..dd5342f 100644 --- a/kipina-codebench/benchmark.mjs +++ b/kipina-codebench/benchmark.mjs @@ -389,6 +389,8 @@ async function runPipeline(model, scenario, round = 1) { if (code) { files[fileDef.name] = code + '\n'; context += `=== ${fileDef.name} ===\n${code}\n\n`; + const loc = code.split('\n').length; + console.log(` [3/5] ${fileResp.tokens} tok, ${loc} lines, ${fileResp.tokPerSec.toFixed(0)} tok/s`); } } writeFileSync(`${dir}/_code_raw.txt`, context);