add bench for running script form c++ side.
use NODE_SET_PROTOTYPE_METHOD macro.