File tree 2 files changed +30
-0
lines changed
2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Benchmarks
2
2
3
+ 1 . [ Publish-Subscribe] ( #Publish-Subscribe )
4
+ 2 . [ Request-Response] ( #Request-Response )
5
+ 3 . [ Event] ( #Event )
6
+ 4 . [ Queue] ( #Queue )
7
+
3
8
## Publish-Subscribe
4
9
5
10
The benchmark quantifies the latency between a ` Publisher ` sending a message and
@@ -19,6 +24,29 @@ For more benchmark configuration details, see
19
24
cargo run --bin benchmark-publish-subscribe --release -- --help
20
25
```
21
26
27
+ ## Request-Response
28
+
29
+ The benchmark quantifies two scenarios:
30
+ 1 . The latency between a ` Client ` sending a request and a ` Server ` receiving it.
31
+ 2 . The latency of a response stream from an established request-response
32
+ connection. So sending a stream of responses from an ` ActiveRequest ` to the
33
+ corresponding ` PendingResponse ` .
34
+ In the setup, a bidirectional connection is
35
+ established from process ` a ` to ` b ` (service name ` a2b ` ) and back (service name
36
+ ` b2a ` ). ` PendingResponse ` s employ multithreaded busy waiting and promptly
37
+ respond upon message reception. This process repeats ` n ` times, and the average
38
+ latency is subsequently computed.
39
+
40
+ ``` sh
41
+ cargo run --bin benchmark-request-response --release
42
+ ```
43
+
44
+ For more benchmark configuration details, see
45
+
46
+ ``` sh
47
+ cargo run --bin benchmark-request-response --release -- --help
48
+ ```
49
+
22
50
## Event
23
51
24
52
The event quantifies the latency between a ` Notifier ` sending a notification and
Original file line number Diff line number Diff line change 37
37
[ #643 ] ( https://github.com/eclipse-iceoryx/iceoryx2/issues/643 )
38
38
* Expose set_log_level_from_env* APIs to C++
39
39
[ #653 ] ( https://github.com/eclipse-iceoryx/iceoryx2/issues/653 )
40
+ * Add benchmark for request-response
41
+ [ #687 ] ( https://github.com/eclipse-iceoryx/iceoryx2/issues/687 )
40
42
41
43
### Bugfixes
42
44
You can’t perform that action at this time.
0 commit comments