Skip to content

Commit

Permalink
Merge pull request #190 from ivanyu/ivanyu/misc
Browse files Browse the repository at this point in the history
Release 0.3.0 + README fix
  • Loading branch information
ivanyu authored Nov 20, 2022
2 parents 3f89a47 + 557929a commit 0e31e0e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

<details>
<summary>More screenshots</summary>

![Heap view](doc/screenshot2.png)

![Object view - Attributes](doc/screenshot3.png)

![Object view - Referents](doc/screenshot4.png)

</details>

#### Running with Docker

Running the PyHeap UI with Docker is simple:
Expand Down Expand Up @@ -95,9 +100,12 @@ and open [http://127.0.0.1:5000](http://127.0.0.1:5000).

### Command-Line Heap Analyzer

<details>
<summary>In case you cannot use the browser-based UI</summary>

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
Expand Down Expand Up @@ -129,6 +137,7 @@ Address | Object type | Retained heap size | String representation
...
```
(in the repo root directory).
</details>
## How It Works
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyheap-integration-tests"
version = "0.2.0"
version = "0.3.0"
description = ""
authors = ["Ivan Yurchenko <ivan@ivanyu.me>"]
license = "Apache License 2.0"
Expand Down
2 changes: 1 addition & 1 deletion pyheap-ui/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyheap-ui"
version = "0.2.0"
version = "0.3.0"
description = ""
authors = ["Ivan Yurchenko <ivan@ivanyu.me>"]
license = "Apache License 2.0"
Expand Down
2 changes: 1 addition & 1 deletion pyheap/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyheap"
version = "0.2.0"
version = "0.3.0"
description = ""
authors = ["Ivan Yurchenko <ivan@ivanyu.me>"]
license = "Apache License 2.0"
Expand Down
2 changes: 1 addition & 1 deletion test_inferiors/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "test-inferiors"
version = "0.2.0"
version = "0.3.0"
description = ""
authors = ["Ivan Yurchenko <ivan@ivanyu.me>"]
readme = "README.md"
Expand Down

0 comments on commit 0e31e0e

Please sign in to comment.