You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🧹 [remove unused names variable in benchmark consume]
🎯 **What:** Removed the unused `names` variable assignment in `utils/benchmark_consume.js` within both the `mapInit` and `forLoopInit` benchmark functions.
💡 **Why:** The variable was mapped and computed but completely unused in the benchmark's consumption phase, constituting dead code. Removing it improves script readability.
✅ **Verification:** Ran `node utils/benchmark_consume.js` to verify the benchmark executes successfully without errors. Ran the full Node.js test suite to ensure no regressions were introduced.
✨ **Result:** Cleaned up dead code while keeping the benchmark comparison functions symmetrical and fair.