add some log to record dfa parser cost