Skip to content

Commit 21d12a0

Browse files
committed
Bump minor version.
1 parent cd09bed commit 21d12a0

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

lib/memory/profiler/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
module Memory
88
# @namespace
99
module Profiler
10-
VERSION = "1.4.0"
10+
VERSION = "1.5.0"
1111
end
1212
end
1313

readme.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ Please see the [project documentation](https://socketry.github.io/memory-profile
2222

2323
Please see the [project releases](https://socketry.github.io/memory-profiler/releases/index) for all releases.
2424

25+
### v1.5.0
26+
27+
- Add `Capture#each_object` for getting all retained objects.
28+
- Add `retained_addresses:` option to `Sampler#analyze` to capture addresses.
29+
- Add `Sampler#analyze(retained_minimum: 100)` - if the retained\_size is less than this, the analyse won't proceed.
30+
- Remove `Memory::Profiler::Graph` - it's too slow for practical use.
31+
- Add `Memory::Profiler.address_of(object)` to get the memory address of an object.
32+
2533
### v1.4.0
2634

2735
- Implement [Cooper-Harvey-Kennedy](https://www.cs.tufts.edu/~nr/cs257/archive/keith-cooper/dom14.pdf) algorithm for finding root objects in memory leaks.
@@ -76,10 +84,6 @@ Please see the [project releases](https://socketry.github.io/memory-profiler/rel
7684
- Fixed allocation/deallocation counts being inaccurate when objects are allocated during callbacks or freed after compaction.
7785
- `Capture#clear` now raises `RuntimeError` if called while capture is running. Call `stop()` before `clear()`.
7886

79-
### v1.1.9
80-
81-
- More write barriers...
82-
8387
## Contributing
8488

8589
We welcome contributions to this project.

releases.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Releases
22

3-
## Unreleased
3+
## v1.5.0
44

55
- Add `Capture#each_object` for getting all retained objects.
66
- Add `retained_addresses:` option to `Sampler#analyze` to capture addresses.
7-
- Add `Sampler#analyze(retained_minimum: 100)` - if the retained_size is less than this, the analyse won't proceed.
7+
- Add `Sampler#analyze(retained_minimum: 100)` - if the retained\_size is less than this, the analyse won't proceed.
88
- Remove `Memory::Profiler::Graph` - it's too slow for practical use.
99
- Add `Memory::Profiler.address_of(object)` to get the memory address of an object.
1010

0 commit comments

Comments
 (0)