[Bug 28119] Babel::getName() should cache its results, or redundant calls be reduced.

2012-07-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28119

--- Comment #8 from Sam Reed (reedy)  2012-07-11 15:34:59 
UTC ---
I've just created https://gerrit.wikimedia.org/r/15451 which adds numerous
profilein/profileout calls to Babel

Can at least give some metrics to find out if we actually need to optimise
anything, or if things are ok as they currently are..

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 28119] Babel::getName() should cache its results, or redundant calls be reduced.

2012-06-27 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28119

--- Comment #7 from Siebrand  2012-06-28 06:35:09 UTC ---
(In reply to comment #6)
> Changelist 13297 adds memcached lookups.

That is Gerrit 13297

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 28119] Babel::getName() should cache its results, or redundant calls be reduced.

2012-06-27 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28119

Ori Livneh  changed:

   What|Removed |Added

 CC||o...@wikimedia.org

--- Comment #6 from Ori Livneh  2012-06-28 06:07:18 UTC ---
Changelist 13297 adds memcached lookups.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 28119] Babel::getName() should cache its results, or redundant calls be reduced.

2012-06-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28119

Siebrand  changed:

   What|Removed |Added

 CC||asha...@wikimedia.org,
   ||s.mazel...@xs4all.nl
 AssignedTo|rob...@rhl.me.uk|wikibugs-l@lists.wikimedia.
   ||org

--- Comment #5 from Siebrand  2012-06-12 12:36:01 UTC ---
Update assignee and CCs

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 28119] Babel::getName() should cache its results, or redundant calls be reduced.

2011-10-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28119

Purodha Blissenbach  changed:

   What|Removed |Added

 AssignedTo|bugzilla.wikime...@publi.pu |rob...@rhl.me.uk
   |rodha.net   |

--- Comment #4 from Purodha Blissenbach  
2011-10-04 14:27:54 UTC ---
No.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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 28119] Babel::getName() should cache its results, or redundant calls be reduced.

2011-09-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28119

Niklas Laxström  changed:

   What|Removed |Added

 CC||niklas.laxst...@gmail.com

--- Comment #3 from Niklas Laxström  2011-09-22 
12:24:09 UTC ---
Purodha: it's been six months. Are you working on this?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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 28119] Babel::getName() should cache its results, or redundant calls be reduced.

2011-03-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28119

Purodha Blissenbach  changed:

   What|Removed |Added

 AssignedTo|rob...@rhl.me.uk|bugzilla.wikime...@publi.pu
   ||rodha.net

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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 28119] Babel::getName() should cache its results, or redundant calls be reduced.

2011-03-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28119

--- Comment #2 from Reedy  2011-03-19 19:55:17 UTC ---
Probably should make getCode caching too

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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 28119] Babel::getName() should cache its results, or redundant calls be reduced.

2011-03-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28119

--- Comment #1 from Reedy  2011-03-19 19:54:31 UTC ---
Doing a array['language']['code'] = name would be a very cheap way of caching
it on the fly.

Making a key like that, and storing in memcached wouldn't be difficult either,
for a bit more persistant storage, which wouldn't be a bad idea...

wfMemcKey( 'babel', 'code', name );

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- 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