Reduce GC times
Change duration calculation
Add native codes & Reduce GC times
Split text lines before measuring