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 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"