File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff 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:
139140npm 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
144157Please read the [ Contributing Guide] ( ./docs/CONTRIBUTING.md ) before making a pull request.
You can’t perform that action at this time.
0 commit comments