File tree 2 files changed +32
-0
lines changed
2 files changed +32
-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,31 @@ 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
+
31
+ 1 . The latency between a ` Client ` sending a request and a ` Server ` receiving it.
32
+ 2 . The latency of a response stream from an established request-response
33
+ connection. So sending a stream of responses from an ` ActiveRequest ` to the
34
+ corresponding ` PendingResponse ` .
35
+
36
+ In the setup, a bidirectional connection is
37
+ established from process ` a ` to ` b ` (service name ` a2b ` ) and back (service name
38
+ ` b2a ` ). ` PendingResponse ` s employ multithreaded busy waiting and promptly
39
+ respond upon message reception. This process repeats ` n ` times, and the average
40
+ latency is subsequently computed.
41
+
42
+ ``` sh
43
+ cargo run --bin benchmark-request-response --release
44
+ ```
45
+
46
+ For more benchmark configuration details, see
47
+
48
+ ``` sh
49
+ cargo run --bin benchmark-request-response --release -- --help
50
+ ```
51
+
22
52
## Event
23
53
24
54
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