{{ title }}

Generated: {{ timestamp_readable }} | Run ID: {{ timestamp }}
Total Runtime
{{ total_runtime_sec }}s
{{ total_runtime_ms | round(2) }} milliseconds
Functions Profiled
{{ total_functions }}
User-defined functions
Sample Size
{{ sample_size | int }}
Records processed
Projected Scale
Adjust to see impact at any scale
🔍 Function Analysis (Top 5)
{% if has_gpu_data %} {% endif %} {% for i in range(all_functions | length) %} {% set func = all_functions[i] %} {% if has_gpu_data %} {% endif %} {% endfor %}
Rank Function Module Self Time (ms) Projected Time (ms) % of Total Calls CPU % Memory (MB)Avg GPU (%) Peak GPU (MB)
{{ i + 1 }} {{ all_functions[i].display_name }} {{ all_functions[i].module }} {{ all_functions[i].self_time_ms | round(2) }}
{{ all_functions[i].self_time_ms | format_time }}
{{ "%.2f"|format(all_functions[i].projected_self_time_ms) }}
{{ all_functions[i].projected_self_time_ms | format_time }}
{{ all_functions[i].percentage | round(2) }}%
{{ all_functions[i].call_count }} {{ all_functions[i].avg_cpu_percent | round(2) }} {{ all_functions[i].peak_memory_mb | round(2) }}{{ all_functions[i].avg_gpu_utilization if all_functions[i].avg_gpu_utilization > 0 else "—" }} {{ all_functions[i].peak_gpu_memory_mb if all_functions[i].peak_gpu_memory_mb > 0 else "—" }}
🏆 Module Performance Ranking
{% for module in top_modules %} {% endfor %}
Function / Method Self Time (ms) Projected Time (ms) % of Total Calls
{{ module.module_name }} {{ module.total_time_ms | round(2) }} {{ "%.2f"|format(module.projected_time_ms) }}
{{ module.projected_time_ms | format_time }}
{{ module.percentage | round(2) }}% {{ module.total_calls }}
✨ AI Optimization Prompt
{{ llm_prompt }}