How to Evaluate HTML Printing Function Performance

From wizarPOS
Revision as of 06:38, 15 April 2019 by Mahong (talk | contribs) (Created page with "== Performance == * It takes 1 second to get the picture at the first time, next time to print, it will need 500 milliseconds to get the picture. * In the case of 60 lines of...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Performance

  • It takes 1 second to get the picture at the first time, next time to print, it will need 500 milliseconds to get the picture.
  • In the case of 60 lines of receipt, the printer starts 1 second or 0.5 seconds slower than the printing of text, and the end of the printing is 0.5 seconds or 0.2 seconds slower than the printing of text.
  • In the case of 120 lines of receipt, the printer startup is also 1 second or 0.5 seconds slower, and the end of printing is 0.5 seconds faster.

Optimization strategy

  • Keep HTML tags simple.
  • The count of tag affects the speed of getting pictures, so use tag as little as possible.