Skip to content

Saher-Amasha/PythonProfiler

Repository files navigation

Python Profiler Viewer

A streaming log viewer and profiler visualizer built for Python programs.


🚀 Features

  • 🔄 Streaming JSONL file processing — processes log files while loading
  • 🌳 Virtualized expandable Call Tree — smooth scroll & expand
  • 📊 Timeline view (Plotly powered) — visual execution timeline
  • 🔥 FlameGraph View — visualizing time spent in functions.
  • 📈 Summary table — aggregated total time per function
  • Fully browser-based — no backend server required

📄 Log Format

Profiler expects newline-delimited JSON arrays (.jsonl), where each line represents one event:

["0.4930", "0.0290", "dominates", 19, 5, 1]

Flame Graph Tab: See the program Flame Graph. image Timeline Tab: See the visual execution timeline. image Summary Tab: Overall summary for all functions (average runtimes, number of calls, ...). image Details Tab: Click on any function in the call tree to see details. image Compare Tab: Load two log files and see what has improved or worsened. image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published