4teamwork / ftw.testbrowser

A testing browser for Plone.
http://ftwtestbrowser.readthedocs.io/
5 stars 1 forks source link

Plone 5: disable resource registries (performance) #99

Closed jone closed 4 years ago

jone commented 4 years ago

In Plone 5, the resource registries are cooked when the resource registry viewlets are rendered. Cooking the bundles takes a lot of time. Since ftw.testbrowser does nothing with JavaScript or CSS, cooking of resources is disabled by default for performance improvement. That means that <script> and <styles> tags are missing in the HTML. This can make the tests up to 4-5 times faster.

~ℹ️ This goes into 1.x. I'll forward-port it to master, but I need it in 1.x.~

jone commented 4 years ago

👍 merci, updated. I have switched the base and merge target from 1.x to master because tests do not reliably work on 1.x. It's ok to ship it with 2.0.