[wp-trac] [WordPress Trac] #23473: Performance Improvement in three JavaScript Source Codes

WordPress Trac noreply at wordpress.org
Thu Feb 14 02:44:14 UTC 2013


#23473: Performance Improvement in three JavaScript Source Codes
-----------------------------+-------------------------
 Reporter:  yongbae          |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  General
  Version:  3.5              |   Severity:  normal
 Keywords:                   |
-----------------------------+-------------------------
 By performance profiling in Internet Explorer 10, Firefox 17 and Chrome
 25, I found performance improvement in wp-admin/js/post.js, wp-includes/js
 /media-views.js and wp-includes/js/utils.js. Function clean() at line
 number 17 in post.js, function set() at line number 98 in util.js and
 function visibility() at line number 2767 in media-views.js can be
 improved with same functionality.

 I measured inclusive execution times of original code and improved code.
 The image is the result. The machine I used to measure execution times has
 Intel Core i5 1.6GHz CPU and 4GB RAM.

 I also attached a patch file.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23473>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list