Skip to content

Commit

Permalink
Merge pull request #8 from popzxc/bump-version
Browse files Browse the repository at this point in the history
Bump version
  • Loading branch information
popzxc authored Jun 16, 2021
2 parents b2a1a36 + ced6325 commit 8e22042
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 11 deletions.
26 changes: 17 additions & 9 deletions BENCHES.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,28 @@ Below you can find results for common operations of `messages`.
### `message` operations

**Spawn**
time: [1.3477 us **1.3814 us** 1.4149 us]
thrpt: [706.78 Kelem/s **723.92 Kelem/s** 741.99 Kelem/s]

**Send message**
time: [19.788 us **19.992 us** 20.255 us]
thrpt: [49.371 Kelem/s **50.019 Kelem/s** 50.535 Kelem/s]
time: [1.3477 us **1.3814 us** 1.4149 us]

thrpt: [706.78 Kelem/s **723.92 Kelem/s** 741.99 Kelem/s]

**Send message**

time: [19.788 us **19.992 us** 20.255 us]

thrpt: [49.371 Kelem/s **50.019 Kelem/s** 50.535 Kelem/s]

**Notify**
time: [75.169 ns **76.816 ns** 78.467 ns]
thrpt: [12.744 Melem/s **13.018 Melem/s** 13.303 Melem/s]

time: [75.169 ns **76.816 ns** 78.467 ns]

thrpt: [12.744 Melem/s **13.018 Melem/s** 13.303 Melem/s]


### Raw channels

**Send message (Raw channel)**
time: [19.540 us **19.632 us** 19.738 us]
thrpt: [50.663 Kelem/s **50.936 Kelem/s** 51.176 Kelem/s]

time: [19.540 us **19.632 us** 19.738 us]

thrpt: [50.663 Kelem/s **50.936 Kelem/s** 51.176 Kelem/s]
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

## Unreleased

## 0.3.0 (16.06.2021)

- Big performance boost:
- Actor spawning performance: +3%.
- Sending message with response: +5% (now on par with `futures` channels).
- Sending notification: **+593%**.
- Ring benchmark report: 4 252 826 msg/second (was 3 121 844 msg/second; `actix`'s
async version of ring benchmark: 3 608 196 msg/second).

- Some internal improvements.

## 0.2.4 (06.06.2021)

- Actor support was implemented.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "messages"
version = "0.2.4"
version = "0.3.0"
authors = ["Igor Aleksanov <[email protected]>"]
edition = "2018"
repository = "https://github.com/popzxc/messages-rs"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ more bloated. If synchronous actor interface is preferred, consider using `actix
## Performance

TL;DR: This library provides performance that is better than in `actix` (for **asynchronous** message handling;
based on the ring benchmark used by `actix` itself) and is tied up to using `futures` channels.
based on the ring benchmark used by `actix` itself) and is tied with `futures` channels.

More details are presented in the [BENCHES.md](./BENCHES.md).

Expand Down

0 comments on commit 8e22042

Please sign in to comment.