Cursor rule
.cursor/rules/performance.mdc[object Object]
Cursor rules
Quality
51/100
Scores the file, not the repository.Length
138 words
6 headings · 0 code blocksRepository
0
— · pushed 144 days agoLast changed
3 days ago
First indexed 3 days ago.123456# Performance Rules for Fasten78## Targets9- Small: <100ms, <10MB; Medium: <500ms, <50MB; Large: <2s, <200MB; XL: <10s, <500MB.10- Lexer: >1MB/s; Parser: >500KB/s; Optimizer: >2MB/s; Codegen: >5MB/s.11- Cold start <50ms; base memory <5MB.1213## Benchmarking14- Use provided benchmark framework; warmup, multiple iterations, throughput checks.15- Assert performance targets in tests; fail on regression >10%.1617## Memory18- Use ArenaAllocator for temp data; Pool for frequent allocations.19- Profile memory; zero tolerance for leaks; peak usage <2x input size.2021## Optimization22- Minimize allocations in hot paths; use stack allocation when possible.23- Profile before optimizing; document all optimizations.24- Use efficient data structures (interning, compact AST).2526## Monitoring27- Collect and log metrics (time, memory, compression ratio).28- Alert on slow bundling, high memory, poor compression.29- Run performance and memory tests in CI.30
Also in v1truv1us/fasten
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| v1truv1us/fasten.cursor/rules/code_style.mdc · 0 | Cursor rules | teststyleperformancedo-not+1 | 59/100 | 3 days ago | |
| v1truv1us/fasten.cursor/rules/contributing.mdc · 0 | Cursor rules | testgitperformancedo-not | 55/100 | 3 days ago | |
| v1truv1us/fasten.cursor/rules/development.mdc · 0 | Cursor rules | setupbuildtestdeployment+2 | 74/100 | 3 days ago | |
| v1truv1us/fasten.cursor/rules/security.mdc · 0 | Cursor rules | buildstylesecuritydo-not | 67/100 | 3 days ago | |
| v1truv1us/fasten.cursor/rules/task_tracking.mdc · 0 | Cursor rules | no sections | 39/100 | 3 days ago | |
| v1truv1us/fasten.cursor/rules/teaching.mdc · 0 | Cursor rules | no sections | 16/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| v1truv1us/fasten.cursor/rules/development.mdc · 0 | Cursor rules | setupbuildtestdeployment+2 | 74/100 | 3 days ago | |
| v1truv1us/fasten.cursor/rules/security.mdc · 0 | Cursor rules | buildstylesecuritydo-not | 67/100 | 3 days ago | |
| fizzyedit/fizzy.cursor/rules/lang-plugins.mdc · 1.4k | Cursor rules | build | 65/100 | 3 days ago | |
| v1truv1us/fasten.cursor/rules/code_style.mdc · 0 | Cursor rules | teststyleperformancedo-not+1 | 59/100 | 3 days ago | |
| v1truv1us/fasten.cursor/rules/contributing.mdc · 0 | Cursor rules | testgitperformancedo-not | 55/100 | 3 days ago | |
| v1truv1us/fasten.cursor/rules/task_tracking.mdc · 0 | Cursor rules | no sections | 39/100 | 3 days ago | |
| v1truv1us/fasten.cursor/rules/teaching.mdc · 0 | Cursor rules | no sections | 16/100 | 3 days ago |
