Tried chamelon-rs with Plone 6.2

Hi there,

just want to share my experience with `chameleon-rs`

in Plone 6.2. `chameleon-rs` is a Rust-based drop-in replacement for Chameleon.

Out of curiosity, I AI-sloped a few changes in Plone 6.2 for replacing the Chameleon implementation with its Rust equivalent.

Short version: no major speedup. The overall speedup (warm caches) was 8-10% and 30% with cold caches for rendering a few standard Plone views. The majority of the time a template needs to render seems to be in zope.tales, content providers, viewlets, portlets and such.

However, the experiments revealed some bugs and edgecases not covered in `cameleon-rs`. All issues reported and already fixed by the wonderful maintainer Michael Kennedy.

6 Likes

Looks promising, specially where it mentions about the error locations, that's quite a source of frustration from my side.

Michael fixed all reported issues meanwhile...so it might be worth watching the project or testing things in parallel. The integration/switch should not be too complicated (AI did it in my case :slight_smile: )

go ahead...I am not that familar with all the internals and edge cases.