[Bug 37753] Compute meaningful size in bogo-bytes for entity revisions.

2014-03-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=37753

Lydia Pintscher lydia.pintsc...@wikimedia.de changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #7 from Lydia Pintscher lydia.pintsc...@wikimedia.de ---


*** This bug has been marked as a duplicate of bug 39189 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 37753] Compute meaningful size in bogo-bytes for entity revisions.

2014-03-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=37753

Lydia Pintscher lydia.pintsc...@wikimedia.de changed:

   What|Removed |Added

   See Also|https://bugzilla.wikimedia. |
   |org/show_bug.cgi?id=39189   |

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 37753] Compute meaningful size in bogo-bytes for entity revisions.

2013-12-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=37753

Daniel Kinzler daniel.kinz...@wikimedia.de changed:

   What|Removed |Added

Summary|RecentChanges shows a   |Compute meaningful size in
   |misleading byte difference  |bogo-bytes for entity
   ||revisions.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 37753] Compute meaningful size in bogo-bytes for entity revisions.

2013-12-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=37753

--- Comment #6 from Daniel Kinzler daniel.kinz...@wikimedia.de ---
The current implementation of EntityContent::getSize() is:

  return strlen( serialize( $this-getNativeData() ) );

I suppose that can be improved. It would probably already help to ignore all
the keys in the arrays; we could use array_walk_recursive to calculate the site
efficiently.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l