npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@kiwa-lab/perf-harness

v2.0.0

Published

Generic performance harness v0.3 strict — p50/p95/p99 measurement + regression detection + baseline persistence + 3-layer harness (serial + concurrent + memory) + strict mode (iter 400 + Welch |t|>3 + p95 delta 10%) + 38 package coverage + 14-axis release

Readme

@kiwa-lab/perf-harness

Generic performance harness for kiwa packages and dogfood apps. It measures p50/p95/p99 latency, persists baselines, detects regressions, and feeds perf data into @kiwa-lab/quality-metrics.

Single measure

import { measure } from '@kiwa-lab/perf-harness';

const result = await measure({
  name: 'reply',
  iterations: 100,
  warmup: 5,
  fn: async () => {
    await adapter.reply({ userMessage: 'Say hi.' });
  },
});

Baseline compare

import {
  defaultBaselinePath,
  detectRegression,
  loadBaseline,
  measure,
  saveBaseline,
} from '@kiwa-lab/perf-harness';

const path = defaultBaselinePath('dogfood-anthropic-chatbot');
const current = await measure({ name: 'reply', iterations: 100, warmup: 5, fn });
const baseline = await loadBaseline(path);

if (baseline) {
  const regression = detectRegression({ current, baseline, threshold: 0.2 });
  console.log(regression.verdict);
}

await saveBaseline(path, current);

Release-gate integration

import { evaluatePerfGate, measure } from '@kiwa-lab/perf-harness';

const result = await measure({ name: 'evaluateReleaseGate', iterations: 100, warmup: 5, fn });
const gate = evaluatePerfGate({
  result,
  thresholds: { p95Ms: 100 },
});

console.log(gate.verdict.passed, gate.breaches);