I love how geniously simple this module integrates twig into drupal 7. I've found 2 problems though. The first, is the name. Unless you are swedish and listen to the Curly Cast I doubt anybody will find this module. Or maybe that is intentional? If so, well done. :) To make it easier to find for people wanting to use twig in D7 it could use the word twig in the title.. :)
The other problem I have found is performance. I migrated a view with 10 rows that were outputted using Display Suite view mode for every row and did some unscientific benchmarks( I did the render a couple of times and checked the view render time. Here are the results:
With Display Suite: ~1700ms
With slate: ~13700ms
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2293883-1-cache-drupal_system_listing.patch | 798 bytes | emattias |
Comments
Comment #1
emattias commentedHere's a patch that caches drupal_system_listing().
With this patch the same view renders in: ~280ms!
Comment #2
emattias commentedComment #3
emattias commentedComment #5
logaritmisk commentedI like the speed up! I've committed your patch and created a new alpha release. Thanks!