I did a simple patch that reduces the number of SQL queries to 3 instead of 3 * N (where N is count($nodes)) in simple_access_node_load() implementation.
This is still way too many queries for each node_load() operation, but is still a lot better.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 1916316-6-node_load_multiple.patch | 2.5 KB | simon georges |
| #4 | 1916316-4-node_load_multiple.patch | 2.49 KB | simon georges |
| #1 | 1916316-1-node_load_multiple.patch | 3.64 KB | pounard |
Comments
Comment #1
pounardComment #2
gordon commentedNot apart of this content performance changes
Comment #3
pounardOups it seems another patch went into mine. Only the hook_node_load() part is revelant. I will redo it.
Comment #4
simon georges commentedPatch with only node_load() modification. All credit goes to pounard.
Comment #5
gordon commentedThis is looking good. 1 very small issue.
I don't use camel case in the code.
Thanks
Gordon.
Comment #6
simon georges commentedNew attempt.
Comment #7
gordon commentedThanks this has been committed to dev.
Comment #8
gordon commentedComment #9
pounardThanks!