Skip to content

Commit

Permalink
Merge pull request #220 from RosLibRust/update-roslibrust-dep
Browse files Browse the repository at this point in the history
Update roslibrust_serde_rosmsg to improve serialization speed
  • Loading branch information
Carter12s authored Jan 8, 2025
2 parents cb0c38a + 54a8175 commit 2cb14b6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- roslibrust_serde_rosmsg verison updated resulting in a significant performance boost on serializing large messages. 95% gains measured on 1080p color image serialization. 25% gains measured on roundtrip image benchmarks with ros1 backend.

### Changed

## 0.12.0 - January 7th, 2025
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ tokio = {version = "1", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
# Someday we may move this crate into this workspace
# For now this is how we keep from repeating the verison everywhere
roslibrust_serde_rosmsg = "0.4"
roslibrust_serde_rosmsg = "0.5.0"
2 changes: 1 addition & 1 deletion roslibrust_ros1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ test-log = "0.2"
# These are definitely needed by this crate:
reqwest = { version = "0.11" }
serde_xmlrpc = { version = "0.2" }
roslibrust_serde_rosmsg = { version = "0.4" }
roslibrust_serde_rosmsg = { workspace = true }
hyper = { version = "0.14", features = ["server"] }
gethostname = { version = "0.4" }
regex = { version = "1.9" }
Expand Down
1 change: 0 additions & 1 deletion roslibrust_test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ log = { workspace = true }
diffy = "0.3.0"
criterion = { version = "0.4", features = ["html_reports", "async_tokio"] }
pprof = { version = "0.11", features = ["flamegraph", "criterion"] }
tokio = { workspace = true }

[[bin]]
path = "src/performance_ramp.rs"
Expand Down

0 comments on commit 2cb14b6

Please sign in to comment.