スキル一覧に戻る
nicholasgriffintn

performance-optimisation

by nicholasgriffintn

Scripts to run that setup my new macbooks

1🍴 0📅 2026年1月15日
GitHubで見るManusで実行

SKILL.md


name: performance-optimisation description: Analyses and optimises performance across frontend, backend and database interactions. Identifies bottlenecks and implements solutions to enhance speed and efficiency. allowed-tools:

  • Read
  • Grep
  • Glob
  • Bash

Performance Optimisation Skill

Tooling Notes

This skill should only use read-only commands and avoid modifying files.

Workflow

Copy this checklist and use it to track your progress through the performance optimisation process:

Performance Optimisation Checklist

- [ ] Measure Baseline Performance
  - [ ] Use profiling tools to gather performance metrics.
  - [ ] Identify slow functions, database queries, and network requests.
- [ ] Identify Bottlenecks
  - [ ] Analyse profiling data to pinpoint performance issues.
  - [ ] Prioritise issues based on impact and ease of resolution.
- [ ] Implement Optimisations
  - [ ] Optimise algorithms and data structures.
  - [ ] Improve database query efficiency.
  - [ ] Reduce network latency and payload sizes.
  - [ ] Implement caching strategies where appropriate.
- [ ] Validate Improvements
  - [ ] Re-measure performance after optimisations.
  - [ ] Ensure that optimisations have led to measurable improvements.
- [ ] Document Changes
  - [ ] Update documentation to reflect performance changes.
  - [ ] Provide explanations for significant optimisations.

Profiling Commands

# Node.js profiling
node --prof app.js
node --prof-process isolate-0x*.log > processed.txt

# Python profiling
python -m cProfile -o profile.out app.py
snakeviz profile.out

# Database query analysis (PostgreSQL example)
EXPLAIN ANALYZE SELECT * FROM your_table WHERE condition;

# Web performance analysis
lighthouse https://yourwebsite.com --output html --output-path report.html

Common Bottlenecks and Ways to Fix Them

  • Inefficient Algorithms: Replace with more efficient algorithms or data structures.
  • Database Query Performance: Optimize queries, add indexes, or denormalize data.
  • Network Latency: Minimize requests, use CDNs, and compress payloads.
  • Unnecessary Computations: Cache results of expensive operations.
  • Memory Leaks: Identify and fix memory leaks to improve performance over time.

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です