
Security News
Re-Enabled GitHub Actions Expose Thousands of Repositories to Mini Shai-Hulud
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.
@memofs/benchmark-kit
Advanced tools
Reusable benchmark workloads, runners, and reporters for MemoFS.
@memofs/benchmark-kitBenchmark kit, workloads, and runners for MemoFS.
Benchmark kit, workloads, and runners for MemoFS. A standardized framework for measuring the performance of embedders, rerankers, memory stores, and recall stores across different providers and adapters. Suites are plain objects, the runner executes them, statistics and threshold evaluation are named functions, and reporters are pure serialization functions.
npm install @memofs/benchmark-kit
Requires Node.js >= 22.
import {
createBenchmarkSuite,
BenchmarkRunner,
jsonBenchmarkReport,
evaluateBenchmarkThresholds,
} from "@memofs/benchmark-kit";
import { createEmbedderWorkloads } from "@memofs/benchmark-kit/workloads";
import { createOpenAIEmbedder } from "@memofs/adapter-openai";
const openai = createOpenAIEmbedder({
apiKey: process.env.OPENAI_API_KEY!,
model: "text-embedding-3-large",
});
const suite = createBenchmarkSuite({
name: "embedder-smoke",
cases: [
createEmbedderWorkloads({
name: "openai-text-embedding-3-large",
embedder: openai,
texts: ["memoize a function", "what is a transformer"],
iterations: 10,
warmupIterations: 2,
}),
],
});
const runner = new BenchmarkRunner();
const result = await runner.runSuite(suite);
console.log(jsonBenchmarkReport(result));
const verdict = evaluateBenchmarkThresholds(result, { maxMeanMs: 50, maxP95Ms: 80 });
if (!verdict.ok) {
for (const f of verdict.failures) {
console.error(`${f.caseName}: ${f.metric} expected ${f.expected}, got ${f.actual}`);
}
}
| Subpath | Contents |
|---|---|
@memofs/benchmark-kit | createBenchmarkSuite, BenchmarkRunner, jsonBenchmarkReport, markdownBenchmarkReport, evaluateBenchmarkThresholds, mean, percentile, summarizeIterations, SeededRandom, error types |
@memofs/benchmark-kit/workloads | createEmbedderWorkloads, createRerankWorkloads, createRecallWorkloads, createMemoryStoreWorkloads, defineWorkload, and the per-operation createXxxBenchmarkCase factories |
@memofs/benchmark-kit/fakes | Re-exports the fakes from @memofs/testing/fakes for use inside benchmark setup |
For the full API surface, a comparison of suites vs. runners, and a guide to writing custom workloads, please refer to the Full Documentation.
See our central Contributing Guide and development scripts for details on formatting, linting, and testing within the monorepo.
MIT
FAQs
Reusable benchmark workloads, runners, and reporters for MemoFS.
We found that @memofs/benchmark-kit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.

Research
/Security News
The compromise affects MemTensor's MemOS, an open source memory framework for large language models (LLMs) and AI agents. Both npm package @memtensor/memos-cloud-openclaw-plugin and the PyPI package MemoryOS are compromised. They drop cross-platform Go binaries that exfiltrate developer secrets.