optimize

Identify performance bottlenecks and implement optimizations with benchmark verification.

1|2|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/ihmorol/unsw-nb15-handling-binary-multiclass-ids --skill optimize-ihmorol
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: optimize
Source: https://github.com/ihmorol/unsw-nb15-handling-binary-multiclass-ids/tree/main/.opencode/skills/optimize
Command: npx skills add https://github.com/ihmorol/unsw-nb15-handling-binary-multiclass-ids --skill optimize-ihmorol

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses code performance issues by identifying and resolving bottlenecks, leading to more efficient and faster execution.

Core Features & Use Cases

  • Bottleneck Identification: Pinpoints specific areas in code that cause slowdowns.
  • Performance Measurement: Establishes baseline metrics before and after optimization.
  • Optimization Strategies: Implements various techniques like algorithmic improvements, vectorization, and caching.
  • Use Case: A data processing script is taking too long to run. This Skill can analyze the script, identify the slow parts, and suggest/implement optimizations to significantly reduce its execution time.

Quick Start

Use the optimize skill to improve the performance of the provided Python script.

Frequently Asked Questions about optimize

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

FAQPage Schema
How do I identify performance bottlenecks in my code?

Code performance optimization applies algorithmic refactoring, vectorization, and caching to resolve execution slowdowns. It analyzes algorithmic inefficiencies and memory usage to pinpoint bottlenecks and implement efficient solutions.

How do I optimize a slow data processing script?

You optimize a slow data processing script by analyzing it to pinpoint slow execution parts, then applying algorithmic improvements, vectorization, and caching. Profiling tools and benchmark comparisons verify the measurable performance gains achieved.

What is the best way to measure code efficiency improvements?

The best way to measure code efficiency improvements is by establishing baseline metrics before and after optimization. Using profiling tools and benchmark comparisons verifies performance gains and ensures that algorithmic refactoring or vectorization provides measurable speed improvements.

Do I need profiling tools to improve code execution speed?

Yes, profiling tools are required to accurately pinpoint code bottlenecks and verify performance gains. They establish baseline metrics for execution speed and memory usage, ensuring that applied techniques like caching and algorithmic refactoring deliver measurable improvements.

What are the limitations of algorithmic refactoring for performance optimization?

Algorithmic refactoring for performance optimization is limited by the need for profiling tools and benchmark comparisons to verify gains. Without these, vectorization and caching implementations may not resolve the actual execution speed bottlenecks effectively.