Skip to content

Commit

Permalink
Release 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vorner committed Mar 3, 2024
1 parent 229c7ee commit 0554cd0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 1.7.1

* Support for no-std builds with the `experimental-thread-local`. Needs nightly
compiler. No stability guarantees with this feature (#93).

# 1.6.0

* Fix a data race reported by MIRI.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "arc-swap"
version = "1.6.0"
version = "1.7.0"
authors = ["Michal 'vorner' Vaner <vorner@vorner.cz>"]
description = "Atomically swappable Arc"
documentation = "https://docs.rs/arc-swap"
Expand All @@ -21,7 +21,8 @@ weak = []
internal-test-strategies = []
# Possibly some strategies we are experimenting with. Currently empty. No stability guarantees are included about them.
experimental-strategies = []
# Use the nightly "thread_local" feature, to allow no_std builds.
# Use the nightly "thread_local" feature, to allow no_std builds. No stability
# guarantees with this feature.
experimental-thread-local = []

[dependencies]
Expand Down

2 comments on commit 0554cd0

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Track benchmarks

Benchmark suite Current: 0554cd0 Previous: 229c7ee Ratio
uncontended/load 5 ns/iter (± 0) 6 ns/iter (± 0) 0.83
uncontended/load_full 9 ns/iter (± 0) 9 ns/iter (± 0) 1
uncontended/load_many 14 ns/iter (± 0) 14 ns/iter (± 0) 1
uncontended/store 53 ns/iter (± 0) 53 ns/iter (± 1) 1
uncontended/cache 0 ns/iter (± 0) 0 ns/iter (± 0) 1
concurrent_loads/load 5 ns/iter (± 1) 6 ns/iter (± 0) 0.83
concurrent_loads/load_full 11 ns/iter (± 0) 12 ns/iter (± 0) 0.92
concurrent_loads/load_many 22 ns/iter (± 0) 14 ns/iter (± 0) 1.57
concurrent_loads/store 508 ns/iter (± 3) 595 ns/iter (± 60) 0.85
concurrent_loads/cache 0 ns/iter (± 0) 1 ns/iter (± 0) 0
concurrent_store/load 54 ns/iter (± 1) 51 ns/iter (± 1) 1.06
concurrent_store/load_full 68 ns/iter (± 5) 66 ns/iter (± 3) 1.03
concurrent_store/load_many 84 ns/iter (± 0) 86 ns/iter (± 0) 0.98
concurrent_store/store 464 ns/iter (± 3) 615 ns/iter (± 4) 0.75
concurrent_store/cache 1 ns/iter (± 0) 1 ns/iter (± 0) 1
utilities/access-map 6 ns/iter (± 0) 6 ns/iter (± 0) 1

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Track benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.50.

Benchmark suite Current: 0554cd0 Previous: 229c7ee Ratio
concurrent_loads/load_many 22 ns/iter (± 0) 14 ns/iter (± 0) 1.57

This comment was automatically generated by workflow using github-action-benchmark.

CC: @vorner

Please sign in to comment.