# Perf Lab

Proof for speed-ups.

- Type: Plugin
- Version: 0.1.0
- Updated: 22 Nov 2026
- Publisher: Murali-lns
- Category: Tools

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Proof for speed-ups. When you ask Ulpi to make code faster, Perf Lab times it before and after, fingerprints the output so a faster-but-wrong change is rejected, profiles Python with a flame graph, and enforces it with hooks: no code edits before a baseline, no finishing before a re-measure, and the plugin's own measured result appended under the reply.

Disclosure — perf_bench and perf_profile run the command the agent passes on your machine, so every run first goes to Ulpi's approval prompt (in any chat; "always" trusts one project folder; it fails closed and is skipped only when Ulpi approvals are off); the command runs without a shell and with a minimal environment (PATH, HOME, locale, temp and interpreter/venv variables, no API keys), must be an interpreter running a script, and inline code is refused, but an approved script runs with your permissions as it would in the terminal. In chats about speed, its hooks add a short rules note to the turn, block write_file/patch on code files until a baseline exists (at most twice per file), ask for one re-measure if code changed, and append a clearly labelled Perf Lab section under the reply without rewriting the agent's text; a Gatekeeper switch in the pane turns the hooks off.

It stores commands, timings, output fingerprints, the first 200 KB of each run's stdout, profiles and per-chat state under plugin-data/perf-lab, makes no network calls and sends no telemetry.

## Tools it adds

The tools an agent gets once this plugin is installed.

- `perf_bench`
- `perf_profile`
- `perf_skip`

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Tools

- [permission-tiers](https://www.ulpi.io/en/marketplace/plugins/permission-tiers): Host-enforced tiered tool permissions: assign allow/ask/block tiers to tool-name patterns (fnmatch globs).
- [Persona Stickers](https://www.ulpi.io/en/marketplace/plugins/persona-stickers): Instant persona-aware emotion reaction stickers for Ulpi: stamps pre-baked chibi bases with comic captions in about 13 ms.
- [Personal Task Manager](https://www.ulpi.io/en/marketplace/plugins/personal-task-manager): Shared personal tasks, subtasks and notes for Ulpi chat, Dashboard and WebApp, with resizable task details, seven languages, Archive and restorable Trash.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
