refactor: partially revert ESM conversion in benchmarking code