This demo is meant to compare the performance of using the Highlight API to using the traditional way of inserting spans to format text.
Clicking any of the buttons below will give (or clear) format to the big chunk of text below the buttons.
Each word in the text is a different span that will be formatted separately with the method chosen.





You can also change the number of independent words in the text:


Last operation took 0ms