An Unusual Performance Optimization
21-Jan-2021 1325
The “raw_text” benchmarks tests the performance of close-to-metal text output. This is important because it is the limiting factor when creating PDF files, especially big PDF files, with much text content.What the benchmark does isreading a file line by line,putting each line on a page, without line wrapping and with manual cursor positioning,and creating new pages as necessary.Here is the main part of the HexaPDF script:.
An Unusual Performance Optimization #ruby #rubydeveloper #rubyonrails #Unusual #Performance #Optimization #performance https://rubyonrails.ba/link/an-unusual-performance-optimization