The mentioned function in the title is not very efficient as it uses the expensive function token_get_values(). With those two patches we can improve the performance significant by only building the tokens actually need.
Please see #792838: Performance tuning for token_get_values() function for further details.
| Comment | File | Size | Author |
|---|---|---|---|
| Token-6.x-1.x-dev-performance.patch | 5.05 KB | gnindl | |
| Pathauto-6.x-1.x-dev-performance.patch | 2.61 KB | gnindl |
Comments
Comment #1
dave reidYou're missing an important detail: all modules that integrate with tokens still return all their possible tokens. That is the main slowdown. This has been fixed with the new token API in core for D7, and is likely a won't fix for now in D6 since we don't want to break APIs for 6.