From 8b20dd5a9d0913951c97bbe26c6de4b888a6b3b7 Mon Sep 17 00:00:00 2001 From: Ivan Yurchenko Date: Sun, 20 Nov 2022 18:21:23 +0200 Subject: [PATCH 1/2] Some improvements to README --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4dbc2ba..fdf11c9 100644 --- a/README.md +++ b/README.md @@ -59,12 +59,17 @@ The browser-based PyHeap UI is a convenient way to explore heap dumps. It can sh ![Thread view](doc/screenshot1.png) +
+ More screenshots + ![Heap view](doc/screenshot2.png) ![Object view - Attributes](doc/screenshot3.png) ![Object view - Referents](doc/screenshot4.png) +
+ #### Running with Docker Running the PyHeap UI with Docker is simple: @@ -95,9 +100,12 @@ and open [http://127.0.0.1:5000](http://127.0.0.1:5000). ### Command-Line Heap Analyzer +
+ In case you cannot use the browser-based UI + Analyze the heap with the `analyzer` module: ```bash -$ PYTHONPATH=src -m analyzer retained-heap --file heap.pyheap +$ PYTHONPATH=src poetry run python -m analyzer retained-heap --file heap.pyheap [2022-09-07 09:40:46,594] INFO Loading file heap.json.gz [2022-09-07 09:40:46,633] INFO Loading file finished in 0.04 seconds @@ -129,6 +137,7 @@ Address | Object type | Retained heap size | String representation ... ``` (in the repo root directory). +
## How It Works From 557929acf559bfb3a794a3aadcd7e328ea470ef8 Mon Sep 17 00:00:00 2001 From: Ivan Yurchenko Date: Sun, 20 Nov 2022 18:22:03 +0200 Subject: [PATCH 2/2] Release 0.3.0 --- integration_tests/pyproject.toml | 2 +- pyheap-ui/pyproject.toml | 2 +- pyheap/pyproject.toml | 2 +- test_inferiors/pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/integration_tests/pyproject.toml b/integration_tests/pyproject.toml index 131c76b..6793b24 100644 --- a/integration_tests/pyproject.toml +++ b/integration_tests/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pyheap-integration-tests" -version = "0.2.0" +version = "0.3.0" description = "" authors = ["Ivan Yurchenko "] license = "Apache License 2.0" diff --git a/pyheap-ui/pyproject.toml b/pyheap-ui/pyproject.toml index 2508553..69d8ab6 100644 --- a/pyheap-ui/pyproject.toml +++ b/pyheap-ui/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pyheap-ui" -version = "0.2.0" +version = "0.3.0" description = "" authors = ["Ivan Yurchenko "] license = "Apache License 2.0" diff --git a/pyheap/pyproject.toml b/pyheap/pyproject.toml index d4677bf..e538847 100644 --- a/pyheap/pyproject.toml +++ b/pyheap/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pyheap" -version = "0.2.0" +version = "0.3.0" description = "" authors = ["Ivan Yurchenko "] license = "Apache License 2.0" diff --git a/test_inferiors/pyproject.toml b/test_inferiors/pyproject.toml index f0b81d2..c9ba196 100644 --- a/test_inferiors/pyproject.toml +++ b/test_inferiors/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "test-inferiors" -version = "0.2.0" +version = "0.3.0" description = "" authors = ["Ivan Yurchenko "] readme = "README.md"