Skip to content

Commit 7196969

Browse files
committed
document the benchmark scripts
1 parent 9ec1ac4 commit 7196969

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

CHANGELOG.md

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

3-
## v1.13.0
3+
## v1.13.0 (unreleased)
44

55
* Add support for Elixir 1.18. Drop support for Elixir 1.15. Elixir >= 1.16 is now required. Dropping support for older versions of Elixir simply means that this package is no longer tested with them in CI, and that compatibility issues are not considered bugs.
66
* Drop support for Erlang/OTP 24, and Erlang/OTP >= 25 is now required. Dropping support for older versions of Erlang/OTP simply means that this package is not tested with them in CI, and that no compatibility issues are considered bugs.
77
* Improve how the change-notification Phoenix.PubSub adapter manages its connection and readiness status. ([pull/191](https://github.com/tompave/fun_with_flags/pull/191))
8+
* Adding a suite of synthetic benchmark scripts for the package. ([pull/193](https://github.com/tompave/fun_with_flags/pull/193))
89

910
## v1.12.0
1011

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ It stores flag information in Redis or a relational DB (PostgreSQL, MySQL, or SQ
4646
* [Testing](#testing)
4747
* [Development](#development)
4848
- [Working with PubSub Locally](#working-with-pubsub-locally)
49+
- [Benchmarks](#benchmarks)
4950

5051
## What's a Feature Flag?
5152

@@ -839,3 +840,7 @@ Steps:
839840
5. In either terminal, run `Node.list()` to check that there is a connection.
840841

841842
Done that, modifying any flag data in either terminal will notify the other one via PubSub.
843+
844+
### Benchmarks
845+
846+
The package comes with [a suite of synthetic benchmark scripts](https://github.com/tompave/fun_with_flags/tree/master/benchmarks). Their use is recommended when working on the internals of the package.

benchmarks/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Benchmarks
2+
3+
Some simple benchmark scripts for the package. Use them as they are or modify them to test specific scenarios.
4+
5+
Example:
6+
7+
```
8+
mix run benchmarks/flag.exs
9+
```

0 commit comments

Comments
 (0)