Regression PDF documentitem evalatprint=true massive performance slowdown

Description

I have narrowed down the major performance regressions to be code where evalonprint=true is used. Testing on a 300 page PDF with a header and footer, the PDF is generated in a matter of seconds. Adding *evalonprint * however makes it run forever without finishing.

Here is a test showing the terrible performance of evalonprint. Changing evalAtPrint to false will let this code run in seconds.

Environment

None

Assignee

Michael Offner

Reporter

Brad Wood

Priority

New

Labels

Fix versions

None

Affects versions

Configure