https://issues.apache.org/bugzilla/show_bug.cgi?id=47865

--- Comment #5 from Jakub <[email protected]> 2009-09-24 14:13:31 PDT ---
I think memory is not a problem and divide the response time by 10 will
decrease performance (better use 8 or 16 then divide will be faster). In my
case it is important to know if the response time was 1ms or 9ms, 10ms or 19ms
- when centiseconds will be use all response from 0-9ms go to first bucket and
10-19ms go to second, details information will be lost, so I prefer to have 1ms
backets. 
In regard to the memory lets assume that the longest response time is 1 min (I
don't know who will be wait so long for response but maybe there are patient
people;)), so the backet array will occupied:
1 * 60 * 1000 * 8 = 480 000 = 468 kb
so less than 0.5 MB.
One important thing to noticed is that this array will not grow during the test
no matter how many samples are collected, so there is no different if there are
1 000 or 10 000 000 samples collected if all are below 1 min. Another important
thing is that because this is an array there is fast access to each element, so
counters increment in backets is fast.

But maybe it will be useful to have an option in gui to set the backet size,
one will choose 1ms (like me) and others maybe 8 or 16ms.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to