Skip to content

Commit

Permalink
Bump to 2.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ferd committed Mar 13, 2024
1 parent fab61ce commit b80be93
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Branches are organized by version. `master` contains the bleeding edge, `2.x`
contains all stable changes up to the latest release of v2, and `1.x` contains
all stable changes of the first version of Recon.

## 2.5.5
- [Fix OTP-26 compiler warnings for OTP-27](https://github.com/ferd/recon/pull/107)

## 2.5.4
- [Include `erts_mmap` in snapshots to help debug memory issues](https://github.com/ferd/recon/pull/106) (thanks to @garazdawi)

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule Recon.MixProject do
[
app: :recon,
description: "Diagnostic tools for production use",
version: "2.5.4",
version: "2.5.5",
language: :erlang,
deps: []
]
Expand Down
2 changes: 1 addition & 1 deletion src/recon.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{application, recon,
[{description, "Diagnostic tools for production use"},
{vsn, "2.5.4"},
{vsn, "2.5.5"},
{modules, [recon, recon_alloc, recon_lib, recon_trace, recon_rec]},
{registered, []},
{applications, [kernel, stdlib]},
Expand Down
4 changes: 2 additions & 2 deletions test/recon_lib_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ scheduler_usage_diff(_Config) ->
{Active0, Total0} = {1000, 2000},
SchedStat0 = {1, Active0, Total0},
% No active or total time has elapsed. Make sure we don't divide by zero.
[{1, 0.0}] = recon_lib:scheduler_usage_diff([SchedStat0], [SchedStat0]),
[{1, +0.0}] = recon_lib:scheduler_usage_diff([SchedStat0], [SchedStat0]),
% Total time has elapsed, but no active time. Make sure we get 0 usage back.
SchedStat1 = {1, Active0, Total0 * 2},
[{1, 0.0}] = recon_lib:scheduler_usage_diff([SchedStat0], [SchedStat1]),
[{1, +0.0}] = recon_lib:scheduler_usage_diff([SchedStat0], [SchedStat1]),
% Check for 100% usage
SchedStat2 = {1, Active0 + 1000, Total0 + 1000},
[{1, 1.0}] = recon_lib:scheduler_usage_diff([SchedStat0], [SchedStat2]).
Expand Down

0 comments on commit b80be93

Please sign in to comment.