Performance Issue

- Every block has been using measureText function make delay.
- Using a document of 14175 characters
  17 sec -> 2 sec