[Tickets #6175] Re: Groups SQL driver

bugs at horde.org bugs at horde.org
Wed Jan 30 17:33:31 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=6175
-----------------------------------------------------------------------
 Ticket             | 6175
 Updated By         | Duck <duck at obala.net>
 Summary            | Groups SQL driver
 Queue              | Horde Framework Packages
 Version            | HEAD
 Type               | Enhancement
 State              | New
 Priority           | 1. Low
 Milestone          | 
 Patch              | 
 Owners             | 
-----------------------------------------------------------------------


Duck <duck at obala.net> (2008-01-30 12:33) wrote:

And a short test: Having 5 groups, each child of another, two users per
group, groups cache enabled. Average of after 1000 runs.

Memory usage:
----
3,932,160 current data tree
3,407,872 sql2
----
500k less

Time in seconds
---
0,0060 dt
0,0041 sql
0,0035 sql2

script: 
----
define('HORDE_BASE', dirname(__FILE__) . '/../');
require_once HORDE_BASE . '/lib/base.php';
require_once 'Horde/Group.php';
$s = &Group::factory('sql2');
$s->listGroups());
$s->getGroupMemberships('duck');
$s->getGroupMemberships('duck', true);
$s->userIsInGroup('duck', 85780, false);
$s->userIsInGroup('duck', 85780, true);



More information about the bugs mailing list