performance-optimisation

Identify and fix performance bottlenecks across frontend, backend, and database layers.

2|1|Updated Dec 19, 2022
One-click install
npx skills add https://github.com/nicholasgriffintn/machine-setup --skill performance-optimisation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-optimisation
Source: https://github.com/nicholasgriffintn/machine-setup/tree/main/ai-tooling/skills/performance-optimisation
Command: npx skills add https://github.com/nicholasgriffintn/machine-setup --skill performance-optimisation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill identifies and fixes performance bottlenecks across frontend, backend, and database layers, reducing latency and resource usage.

Core Features & Use Cases

  • Profiling & Benchmarking: Measure baseline performance across stacks and compare improvements after changes.
  • Bottleneck Identification: Pinpoint slow functions, queries, and network interactions.
  • Guided Optimisations: Recommend and implement algorithmic, data-structure, and query optimisations with a repeatable workflow.
  • Use Case: Imagine a web app with slow page loads; this Skill guides you through profiling, isolating the bottleneck, and applying caching or query optimisations to achieve faster responses.

Quick Start

Follow the checklist in this Skill to measure performance and apply optimisations. Use the provided profiling commands to gather metrics and validate improvements.

Frequently Asked Questions about performance-optimisation

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

FAQPage Schema
How do I identify performance bottlenecks in my web application?

To identify performance bottlenecks, you profile baseline metrics across frontend, backend, and database layers to pinpoint slow functions, queries, and network interactions before applying optimizations.

What profiling commands can I use for Node.js and Python backend services?

For backend profiling in Node.js and Python, this skill provides specific profiling commands to measure baseline performance, isolate slow functions, and validate improvements after optimizations are applied.

How do I fix slow database queries and high latency in my web app?

Fix slow database queries and latency by following a structured optimization checklist that guides query profiling, bottleneck isolation, and the implementation of caching or algorithmic optimizations.

Does this performance optimization workflow apply to frontend and database layers?

Yes, this performance optimization workflow applies directly to frontend, backend, and database layers, measuring baseline performance and recommending data-structure and query optimizations across all three.

What is the best way to measure and compare performance improvements after code changes?

The best way to measure performance improvements is using benchmarking techniques to capture baseline metrics, apply changes, and compare the updated results against the initial performance benchmarks.