Skip to content

[benchmark] Update Lyrical results and align timing - #1703

Merged
minggangw merged 2 commits into
RobotWebTools:developfrom
minggangw:fix-1702
Nov 26, 2026
Merged

minggangw merged 2 commits into
RobotWebTools:developfrom
minggangw:fix-1702

Conversation

@minggangw

Copy link
Copy Markdown
Member

Refresh ROS 2 client benchmarks with calibrated Lyrical measurements, aligned timing, and a year-grouped comparison diagram, while preserving the 2025 results for historical reference.

Changes

  • Record results using Ubuntu 26.04, Node.js v26.13.1, and published rclnodejs v2.3.2.
  • Align monotonic timers around benchmark loops, excluding setup, discovery, logging, and shutdown.
  • Add peer-readiness checks, discovery timeouts, explicit service failures, and completion counts.
  • Update C++ CMake linkage for Lyrical compatibility.
  • Preserve 2025 results and add a year-grouped comparison diagram.
  • Simplify reproduction instructions and document middleware sensitivity and comparison limitations.

Fix: #1702

Copilot AI balanced review requested due to automatic review settings November 26, 2026 06:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the benchmark refresh.

No open issues 🎉

What changed in this PR

Refreshes the ROS 2 client benchmarks for Lyrical and published rclnodejs v2.3.2, addressing #1702 while preserving the 2025 results for historical reference.

Changes:

  • Records 2026 measurements, adds a year-grouped comparison chart, and updates reproduction instructions.
  • Moves benchmark timing around the execution loops using monotonic clocks, with readiness checks and clearer completion or failure reporting.
  • Updates C++ dependency linkage for Lyrical compatibility.
File Description
README.md Updates the benchmark description to reference Lyrical and rclnodejs v2.3.2.
benchmark/​README.md Adds current results, preserves historical totals, and revises reproduction steps.
benchmark/​rclpy/​topic/​publisher-stress-test.py Adds subscriber discovery, monotonic timing, and publish counts.
benchmark/​rclpy/​service/​client-stress-test.py Uses monotonic timing and reports service failures explicitly.
benchmark/​rclnodejs/​topic/​publisher-stress-test.js Waits for subscribers and excludes setup from timing.
benchmark/​rclnodejs/​service/​client-stress-test.js Narrows timing to requests and removes progress logging from the loop.
benchmark/​rclcpp/​topic/​publisher-stress-test.cpp Adds discovery checks, steady-clock timing, and completion validation.
benchmark/​rclcpp/​service/​client-stress-test.cpp Bounds discovery and validates responses and completion outside setup timing.
benchmark/​rclcpp/​CMakeLists.txt Links benchmark targets through exported ROS dependency targets.
benchmark/​benchmark-comparison.svg Visualizes both years on a shared scale with comparison caveats.

Review effort: Balanced

@coveralls

coveralls commented Nov 26, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 91.354% (-0.001%) from 91.355% — minggangw:fix-1702 into RobotWebTools:develop

@minggangw
minggangw merged commit 3a0ab35 into RobotWebTools:develop Nov 26, 2026
13 checks passed
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.

Update benchmark with Lyrical + Node.js v26.13.1

3 participants