[wp-trac] [WordPress Trac] #38760: Capture result size in bytes when SAVEQUERIES is true

WordPress Trac noreply at wordpress.org
Tue Oct 3 10:06:03 UTC 2017


#38760: Capture result size in bytes when SAVEQUERIES is true
-----------------------------+-----------------------------
 Reporter:  danielbachhuber  |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Database         |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+-----------------------------

Comment (by birgire):

 I like the idea, but I briefly searched for a way and could only find
 estimates with:

  - {{{memory_get_usage()}}} - i.e. difference before and after
  - string length on a serialized object.

 Not sure how useful it would be here?

 Maybe there are other better ways?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38760#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list