Skip to content

Commit d913c47

Browse files
committed
update to local time logging with browser based visualization
1 parent c8405f3 commit d913c47

26 files changed

Lines changed: 1070 additions & 518 deletions

β€Ž.vscode/launch.jsonβ€Ž

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"version": "0.2.0",
3-
"configurations": [
4-
3+
"configurations": [
54
{
65
"name": "main",
7-
"type": "python",
6+
"type": "debugpy",
87
"request": "launch",
98
"program": "main.py",
109
"console": "integratedTerminal",

β€ŽREADME.mdβ€Ž

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,22 @@
1-
# PythonProfiler
1+
# Python Profiler Viewer
2+
3+
A **streaming log viewer and profiler visualizer** built for large-scale Python profiling data.
4+
5+
---
6+
7+
## πŸš€ Features
8+
9+
- πŸ”„ **Streaming JSONL file processing** β€” processes log files while loading
10+
- 🌳 **Virtualized expandable Call Tree** β€” smooth scroll & expand, even for millions of calls
11+
- πŸ“Š **Timeline view (Plotly powered)** β€” visual execution timeline
12+
- πŸ“ˆ **Summary table** β€” aggregated total time per function
13+
- ⚑ **Fully browser-based** β€” no backend server required
14+
15+
---
16+
17+
## πŸ“„ Log Format
18+
19+
Profiler expects newline-delimited JSON arrays (`.jsonl`), where each line represents one event:
20+
21+
```json
22+
["17:54:12.457", "start", "function_name", 123, 122, "sync"]

β€Žapp.pyβ€Ž

Lines changed: 0 additions & 23 deletions
This file was deleted.

β€Žcontroller.pyβ€Ž

Lines changed: 0 additions & 15 deletions
This file was deleted.

β€Žexample_usage/example1.pyβ€Ž

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
Β (0)