← スキル一覧に戻る

code-profiler
by dkyazzentwatwa
My comprehensive, tested + audited, library of skills to use for ChatGPT.
⭐ 6🍴 0📅 2026年1月20日
SKILL.md
name: code-profiler description: Use when asked to profile Python code performance, identify bottlenecks, measure execution time, or analyze function call statistics.
Code Profiler
Analyze Python code performance, identify bottlenecks, and optimize execution with comprehensive profiling tools.
Purpose
Performance analysis for:
- Bottleneck identification
- Function execution time measurement
- Memory usage profiling
- Call graph visualization
- Optimization validation
Features
- Time Profiling: Measure function execution times
- Line-by-Line Analysis: Profile each line of code
- Call Statistics: Function call counts and cumulative time
- Memory Profiling: Track memory allocation and usage
- Flamegraph Visualization: Visual call stack analysis
- Comparison: Before/after optimization comparison
Quick Start
from code_profiler import CodeProfiler
# Profile function
profiler = CodeProfiler()
profiler.profile_function(my_function, args=(arg1, arg2))
profiler.print_stats(top=10)
# Profile script
profiler.profile_script('script.py')
profiler.export_report('profile_report.html')
CLI Usage
# Profile Python script
python code_profiler.py script.py
# Profile with line-by-line analysis
python code_profiler.py script.py --line-by-line
# Export HTML report
python code_profiler.py script.py --output report.html
スコア
総合スコア
55/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
レビュー
💬
レビュー機能は近日公開予定です

