add getSystemTime util and improve performance