use process.hrtime() to avoid native module