performance-engineering

Profile tick-to-trade pipelines and enforce latency budgets in CI.

Updated Mar 2, 2026
One-click install
npx skills add https://github.com/Leiisawesome/feelies --skill performance-engineering-leiisawesome
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-engineering
Source: https://github.com/Leiisawesome/feelies/tree/main/.cursor/skills/performance-engineering
Command: npx skills add https://github.com/Leiisawesome/feelies --skill performance-engineering-leiisawesome

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams analyze and optimize latency-sensitive intraday trading systems to meet strict latency budgets while preserving determinism and readability.

Core Features & Use Cases

  • Budget-driven performance analysis and profiling for tick-to-trade pipelines
  • Identification of hot paths and memory hotspots; guidance on data structures and concurrency
  • Deterministic optimization with CI-backed benchmarks and regression prevention
  • Guidance on vectorization, cache locality, and lock-free design for modern hardware

Quick Start

Run a baseline profiler on the tick-to-trade pipeline to identify the top latency bottlenecks.

Frequently Asked Questions about performance-engineering

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I profile a tick-to-trade pipeline to find latency bottlenecks?

To profile a tick-to-trade pipeline, run a baseline profiler to identify top latency bottlenecks and memory hotspots. This measurement-first workflow enforces latency budgets and targets hot paths for optimization.

What is the best way to reduce latency in intraday trading infrastructure?

Reducing latency in intraday trading infrastructure requires identifying bottlenecks and enforcing strict latency budgets. You optimize hot loops, reduce memory footprint, and apply lock-free design while preserving determinism and readability.

How do I prevent latency regressions in my trading system during CI?

Prevent latency regressions by implementing regression-gated benchmarks in CI alongside deterministic replay. This ensures new code changes do not violate established latency budgets or introduce non-deterministic behavior.

Why does garbage collection cause latency spikes and how do I diagnose GC pauses?

Garbage collection causes latency spikes by suspending execution to reclaim memory. Diagnose GC pauses by profiling memory hotspots and reducing memory footprint to minimize allocation pressure on hot paths.

When do I need lock-free design and cache locality for trading systems?

You need lock-free design and cache locality when optimizing latency-critical trading systems for modern hardware. These techniques reduce contention and improve memory access speeds within hot loops.

Can I use vectorization to speed up backtest scenarios without breaking determinism?

Vectorization can speed up backtest scenarios while maintaining determinism if applied carefully. The workflow prioritizes verifiability, ensuring vectorized operations adhere to strict latency budgets and deterministic replay.