@localmode/bench 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -20,9 +20,12 @@ the previous one) in separate rows that never mix (`aggregateRuns()` groups by
20
20
  v5 changes only the llama.cpp lanes: they request half the browser's logical
21
21
  thread count (at least two) instead of all of it, because a pool over every
22
22
  logical thread ran at half speed with high variance on hybrid and SMT
23
- processors, and load with a 2,048-token context so the Gemma 4 E2B GGUF's KV
24
- cache fits the CPU lane's 4 GB wasm heap; `n_ctx`, `n_threads`, `multithread`
25
- and `n_threads_used` are recorded per cell. v3 split the llama.cpp lane: `wllama` is llama.cpp
23
+ processors, and load with a 2,048-token context sized to the workloads (about
24
+ 700 tokens) instead of the provider's 8,192 default, which shrinks the KV
25
+ cache of the 3.46 GB Gemma 4 E2B GGUF inside the CPU lane's 4 GB wasm heap
26
+ (that lane's Gemma quality cell still fails there on the per-request state
27
+ allocation, recorded as an error as under v4); `n_ctx`, `n_threads`,
28
+ `multithread` and `n_threads_used` are recorded per cell. v3 split the llama.cpp lane: `wllama` is llama.cpp
26
29
  WASM on the CPU (`n_gpu_layers: 0`) and `wllama-webgpu` offloads every layer
27
30
  to WebGPU, over the same GGUF files; under v2 the single `wllama` lane ran on
28
31
  WebGPU wherever the browser had it while recording `wasm` (wllama 3.5's
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@localmode/bench",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Cross-runtime benchmark harness for in-browser AI — MLPerf-Client-compatible metrics (TTFT, prefill/decode throughput), raw trace capture, integrity checks, and leaderboard aggregation for LLM and embedding inference across browser ML runtimes",
5
5
  "license": "MIT",
6
6
  "author": "LocalMode",