benchmark: refactor benchmark/common.js
Refactor benchmark/common.js to consistently use arrow functions for anonymous callbacks and trailing commas.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines