Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Benchmark:
admin/structure/block
Edge Insider Build:
Before: 147ms
After: 12ms
Chrome Canary :
Before: 6ms
After: 2ms
admin/structure/menu/manage/tools (with 700 menu items)
Edge Insider Build:
Before: 2437ms
After: 202ms
Chrome Canary :
Before: 87ms
After:20ms
Comment | File | Size | Author |
---|---|---|---|
#6 | 2876224-restripeTable.patch | 803 bytes | droplet |
tabledrag-performance.patch | 890 bytes | droplet | |
Comments
Comment #2
nod_Oh! good catch.
No issue here. Doesn't change the logic, just separate selection and initial filtering.
Comment #3
Gábor HojtsyThis needs some 80 char wrapping which I was about to do myself, but better yet can we explain the added comment a bit better. I would say lot of things in PHP/JS are performance optimized and we don't say this in code comments :)
Comment #4
droplet CreditAttribution: droplet commentedAny Suggestions? If not, just drop it. the comments helped CORE committers
Comment #5
Gábor HojtsyI would personally drop it, we usually don't explain these tricks :)
Comment #6
droplet CreditAttribution: droplet commentedComment #7
nod_:)
Comment #8
Gábor HojtsyComment #11
Gábor HojtsyThanks, committed to 8.4.x and cherry-picked to 8.3.x given that this was a simple self-contained performance improvement that has no side effect whatsoever :)
Comment #12
Wim LeersNICE.