├── .github ├── csvlens.data ├── demo-live.gif ├── demo.gif ├── demo.tape ├── make_demo.sh ├── top_view.gif ├── top_view.tape └── workflows │ ├── lint.yml │ ├── release.yml │ └── test.yml ├── .gitignore ├── CHANGELOG.md ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── Makefile ├── README.md ├── dist-workspace.toml ├── src ├── app.rs ├── event.rs ├── flame.rs ├── handler.rs ├── lib.rs ├── main.rs ├── py_spy.rs ├── py_spy_flamegraph.rs ├── state.rs ├── tui.rs ├── ui.rs └── view.rs └── tests ├── data ├── ignore-metadata-lines.txt ├── invalid-lines.txt ├── py-spy-simple.txt ├── readable.txt └── recursive.txt ├── fixtures ├── ignore-metadata-lines │ ├── expected_ordered_counts.json │ └── expected_stacks.json ├── invalid-lines │ ├── expected_ordered_counts.json │ └── expected_stacks.json ├── py-spy-simple │ ├── expected_ordered_counts.json │ └── expected_stacks.json └── recursive │ ├── expected_ordered_counts.json │ └── expected_stacks.json └── python └── long_running.py /.github/csvlens.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/.github/csvlens.data -------------------------------------------------------------------------------- /.github/demo-live.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/.github/demo-live.gif -------------------------------------------------------------------------------- /.github/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/.github/demo.gif -------------------------------------------------------------------------------- /.github/demo.tape: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/.github/demo.tape -------------------------------------------------------------------------------- /.github/make_demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/.github/make_demo.sh -------------------------------------------------------------------------------- /.github/top_view.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/.github/top_view.gif -------------------------------------------------------------------------------- /.github/top_view.tape: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/.github/top_view.tape -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/README.md -------------------------------------------------------------------------------- /dist-workspace.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/dist-workspace.toml -------------------------------------------------------------------------------- /src/app.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/src/app.rs -------------------------------------------------------------------------------- /src/event.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/src/event.rs -------------------------------------------------------------------------------- /src/flame.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/src/flame.rs -------------------------------------------------------------------------------- /src/handler.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/src/handler.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/py_spy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/src/py_spy.rs -------------------------------------------------------------------------------- /src/py_spy_flamegraph.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/src/py_spy_flamegraph.rs -------------------------------------------------------------------------------- /src/state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/src/state.rs -------------------------------------------------------------------------------- /src/tui.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/src/tui.rs -------------------------------------------------------------------------------- /src/ui.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/src/ui.rs -------------------------------------------------------------------------------- /src/view.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/src/view.rs -------------------------------------------------------------------------------- /tests/data/ignore-metadata-lines.txt: -------------------------------------------------------------------------------- 1 | 2 | # some metadata for human: 42 3 | 4 | (long_running.py:24) 7 -------------------------------------------------------------------------------- /tests/data/invalid-lines.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/tests/data/invalid-lines.txt -------------------------------------------------------------------------------- /tests/data/py-spy-simple.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/tests/data/py-spy-simple.txt -------------------------------------------------------------------------------- /tests/data/readable.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/tests/data/readable.txt -------------------------------------------------------------------------------- /tests/data/recursive.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/tests/data/recursive.txt -------------------------------------------------------------------------------- /tests/fixtures/ignore-metadata-lines/expected_ordered_counts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/tests/fixtures/ignore-metadata-lines/expected_ordered_counts.json -------------------------------------------------------------------------------- /tests/fixtures/ignore-metadata-lines/expected_stacks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/tests/fixtures/ignore-metadata-lines/expected_stacks.json -------------------------------------------------------------------------------- /tests/fixtures/invalid-lines/expected_ordered_counts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/tests/fixtures/invalid-lines/expected_ordered_counts.json -------------------------------------------------------------------------------- /tests/fixtures/invalid-lines/expected_stacks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/tests/fixtures/invalid-lines/expected_stacks.json -------------------------------------------------------------------------------- /tests/fixtures/py-spy-simple/expected_ordered_counts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/tests/fixtures/py-spy-simple/expected_ordered_counts.json -------------------------------------------------------------------------------- /tests/fixtures/py-spy-simple/expected_stacks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/tests/fixtures/py-spy-simple/expected_stacks.json -------------------------------------------------------------------------------- /tests/fixtures/recursive/expected_ordered_counts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/tests/fixtures/recursive/expected_ordered_counts.json -------------------------------------------------------------------------------- /tests/fixtures/recursive/expected_stacks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/tests/fixtures/recursive/expected_stacks.json -------------------------------------------------------------------------------- /tests/python/long_running.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YS-L/flamelens/HEAD/tests/python/long_running.py --------------------------------------------------------------------------------