[wp-trac] [WordPress Trac] #16687: %postname% permalinks should not trigger verbose rewrite rules
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 14 11:05:11 UTC 2011
#16687: %postname% permalinks should not trigger verbose rewrite rules
-----------------------------+------------------
Reporter: nacin | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 3.3
Component: Rewrite Rules | Version:
Severity: normal | Resolution:
Keywords: |
-----------------------------+------------------
Changes (by johanee):
* cc: johan.eenfeldt@… (added)
Comment:
Very nice, good work!
Tested performance of no_verbose_ver1.diff. Time is average of 5 tests,
run on a decent VPS.
Site 1 (72 pages & 3714 attachments) WP 3.2.1
* rewrite rules: 5638 (666KB serialized)
* flush_rewrite_rules(): 1.452s
* failed url_to_postid(): 0.052s
Site 1 WP 3.2.1 + no_verbose_ver1
* rewrite rules: 72 (6,5KB serialized)
* flush_rewrite_rules(): 0.005s
* failed url_to_postid(): 0.005s
Site 2 (27 pages & 1350 attachments) WP 3.2.1
* rewrite rules: 15418 (1,8MB serialized)
* flush_rewrite_rules(): 9.068s
* failed url_to_postid(): 0.150s
Site 2 WP 3.2.1 + no_verbose_ver1
* rewrite rules: 72 (6,6KB serialized)
* flush_rewrite_rules(): 0.005s
* failed url_to_postid(): 0.005s
Do you want anything else tested or profiled?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16687#comment:31>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list