perf Skill
Speed and memory performance rules for Rust crates, webui-framework, and webui-router. Published by microsoft in webui.
What is perf Skill?
Speed and memory performance rules for Rust crates, webui-framework, and webui-router. Published by microsoft in webui. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Writing
- Writing use cases
Technical details
- Install or run with Copy skill directory
When to use perf Skill
- Use it for writing.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/webui
- Skill file: .github/skills/perf/SKILL.md
What it does
Speed and memory performance rules for Rust crates, webui-framework, and webui-router.
Skill instructions
Performance WebUI's value proposition is speed and low memory usage. Every change to core Rust crates, @microsoft/webui-framework, or @microsoft/webui-router must be evaluated through two lenses: throughput (how fast) and memory (how little). Server memory is not cheap. Client memory is not unlimited. Every allocation that can be avoided is a win on both sides. Use this skill when modifying any performance-sensitive code across the stack. Rust - speed rules These apply to webui-handler, webui-state, webui-expressions, webui-parser, webui-protocol, and webui-ffi. 1. No format!() in writer output. Use sequential writer.write() calls. format! allocates a temporary String every invocation. 2. No .tostring() on Cow. Write Cow<str directly to avoid defeating zero-copy. 3. No collect::<Vec<() on splits. Iterate path.split('.') directly. Collecting allocates a Vec for sequential access. 4. No redundant scans. Use firstpart.len() == path.len() instead of path.contains('.'). 5. No String::from(c
Explore related resources
Frequently asked questions
What is perf?
perf is a open-source AI agent skill with Copy skill directory. Speed and memory performance rules for Rust crates, webui-framework, and webui-router.
Who is perf best for?
perf is best for reusing agent instructions, scripts, and references, writing workflows.
How do I install perf?
Install or run perf using Copy skill directory. Check perf for the latest setup command.
Is perf actively maintained?
perf may need a closer maintenance check before production use.
Auto-fetched from GitHub.