Skip to content

Commit 022cc40

Browse files
committed
Address comments
1 parent 9a54598 commit 022cc40

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ rclnodejs.init().then(() => {
2929
- [Electron-based Visualization](#electron-based-visualization)
3030
- [Using TypeScript](#using-rclnodejs-with-typescript)
3131
- [ROS2 Interface Message Generation](#ros2-interface-message-generation)
32+
- [Performance Benchmarks](#performance-benchmarks)
3233
- [Efficient Usage Tips](./docs/EFFICIENCY.md)
3334
- [FAQ and Known Issues](./docs/FAQ.md)
3435
- [Building from Scratch](./docs/BUILDING.md)
@@ -139,6 +140,18 @@ To generate messages from IDL files, use the `generate-messages-idl` npm script:
139140
npm run generate-messages-idl
140141
```
141142

143+
## Performance Benchmarks
144+
145+
Benchmark results for 1000 iterations with 1024KB messages (Ubuntu 24.04.3 WSL2, i7-1185G7):
146+
147+
| Library | Topic (ms) | Service (ms) |
148+
| ----------------------- | ---------- | ------------ |
149+
| **rclcpp (C++)** | 168 | 627 |
150+
| **rclnodejs (Node.js)** | 744 | 927 |
151+
| **rclpy (Python)** | 1,618 | 15,380 |
152+
153+
See [benchmark/README.md](benchmark/README.md) for details.
154+
142155
## Contributing
143156

144157
Please read the [Contributing Guide](./docs/CONTRIBUTING.md) before making a pull request.

0 commit comments

Comments
 (0)