Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔨 zb: Add benchmarks for Message ser/de #968

Merged
merged 2 commits into from
Sep 2, 2024

Conversation

zeenix
Copy link
Contributor

@zeenix zeenix commented Sep 2, 2024

We add separate benchmarks for header and body ser and de. They show the following results when compared to the main branch before #966:

message-ser/small       time:   [3.0693 µs 3.0745 µs 3.0801 µs]
                        change: [-56.616% -55.888% -55.132%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 14 outliers among 100 measurements (14.00%)
  1 (1.00%) low severe
  2 (2.00%) low mild
  4 (4.00%) high mild
  7 (7.00%) high severe
message-ser/big         time:   [2.3432 ms 2.3506 ms 2.3576 ms]
                        change: [-14.648% -13.677% -12.583%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 3 outliers among 100 measurements (3.00%)
  2 (2.00%) high mild
  1 (1.00%) high severe

message-de/header       time:   [164.90 ns 165.33 ns 165.83 ns]
                        change: [-7.5284% -6.5826% -5.1958%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 2 outliers among 100 measurements (2.00%)
  1 (1.00%) high mild
  1 (1.00%) high severe
message-de/body         time:   [3.0474 ms 3.0522 ms 3.0578 ms]
                        change: [-27.527% -26.152% -24.655%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 18 outliers among 100 measurements (18.00%)
  6 (6.00%) low mild
  5 (5.00%) high mild
  7 (7.00%) high severe

We'll be adding benchmarks for zbus in the following commit.
@zeenix zeenix changed the title 🔨 Add benchmarks for Message ser/de 🔨 zb: Add benchmarks for Message ser/de Sep 2, 2024
We add separate benchmarks for header and body ser and de.
@zeenix zeenix merged commit 2f373d1 into dbus2:main Sep 2, 2024
7 checks passed
@zeenix zeenix deleted the zbus-benchmarks branch September 2, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant