commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Steijn" <pste...@gmail.com>
Subject Re: [pool] Proposal: New Pool Impl -- GeneratorObjectPool
Date Sat, 01 Apr 2006 13:35:30 GMT
some promising performance tests:

using pool's 1.3.1 PerformanceTest.java

------------------------------------
on GeneralObjectPool
------------------------------------

Increase threads
-----------------------------------------
nrIterations: 1
nrThreads: 50
maxActive: 5
maxIdle: 5
nrSamples: 50
totalBorrowTime: 120364
totalReturnTime: 5519
avg BorrowTime: 2407
avg ReturnTime: 110
-----------------------------------------
nrIterations: 1
nrThreads: 100
maxActive: 5
maxIdle: 5
nrSamples: 100
totalBorrowTime: 494611
totalReturnTime: 11035
avg BorrowTime: 4946
avg ReturnTime: 110
-----------------------------------------
nrIterations: 1
nrThreads: 200
maxActive: 5
maxIdle: 5
nrSamples: 200
totalBorrowTime: 2048368
totalReturnTime: 22732
avg BorrowTime: 10241
avg ReturnTime: 113
-----------------------------------------
nrIterations: 1
nrThreads: 400
maxActive: 5
maxIdle: 5
nrSamples: 400
totalBorrowTime: 7144609
totalReturnTime: 46740
avg BorrowTime: 17861
avg ReturnTime: 116
Increase threads & poolsize
-----------------------------------------
nrIterations: 1
nrThreads: 50
maxActive: 5
maxIdle: 5
nrSamples: 50
totalBorrowTime: 120005
totalReturnTime: 5528
avg BorrowTime: 2400
avg ReturnTime: 110
-----------------------------------------
nrIterations: 1
nrThreads: 100
maxActive: 10
maxIdle: 10
nrSamples: 100
totalBorrowTime: 476851
totalReturnTime: 23280
avg BorrowTime: 4768
avg ReturnTime: 232
-----------------------------------------
nrIterations: 1
nrThreads: 200
maxActive: 20
maxIdle: 20
nrSamples: 200
totalBorrowTime: 1948777
totalReturnTime: 98885
avg BorrowTime: 9743
avg ReturnTime: 494
-----------------------------------------
nrIterations: 1
nrThreads: 400
maxActive: 40
maxIdle: 40
nrSamples: 400
totalBorrowTime: 7691536
totalReturnTime: 393762
avg BorrowTime: 19228
avg ReturnTime: 984
Increase maxIdle
-----------------------------------------
nrIterations: 1
nrThreads: 400
maxActive: 40
maxIdle: 5
nrSamples: 400
totalBorrowTime: 101715823
totalReturnTime: 5503246
avg BorrowTime: 254289
avg ReturnTime: 13758
-----------------------------------------
nrIterations: 1
nrThreads: 400
maxActive: 40
maxIdle: 40
nrSamples: 400
totalBorrowTime: 7631143
totalReturnTime: 393899
avg BorrowTime: 19077
avg ReturnTime: 984


------------------------------------
on GeneratorObjectPool
------------------------------------

 Increase threads  -----------------------------------------  nrIterations:
1  nrThreads: 50  maxActive: 5  maxIdle: 5  nrSamples: 50  totalBorrowTime:
25794  totalReturnTime: 500  avg BorrowTime: 515  avg ReturnTime: 10
-----------------------------------------  nrIterations: 1  nrThreads:
100  maxActive:
5  maxIdle: 5  nrSamples: 100  totalBorrowTime: 45228 
totalReturnTime: 2052  avg
BorrowTime: 452  avg ReturnTime: 20
-----------------------------------------  nrIterations: 1  nrThreads:
200  maxActive:
5  maxIdle: 5  nrSamples: 200  totalBorrowTime: 417837  totalReturnTime:
9663  avg BorrowTime: 2089  avg ReturnTime: 48
-----------------------------------------  nrIterations: 1  nrThreads:
400  maxActive:
5  maxIdle: 5  nrSamples: 400  totalBorrowTime: 823686  totalReturnTime:
14502  avg BorrowTime: 2059  avg ReturnTime: 36  Increase threads & poolsize
-----------------------------------------  nrIterations: 1  nrThreads:
50  maxActive:
5  maxIdle: 5  nrSamples: 50  totalBorrowTime: 31535  totalReturnTime: 512  avg
BorrowTime: 630  avg ReturnTime: 10
-----------------------------------------  nrIterations: 1  nrThreads:
100  maxActive:
10  maxIdle: 10  nrSamples: 100  totalBorrowTime: 56098  totalReturnTime:
1393  avg BorrowTime: 560  avg ReturnTime: 13
-----------------------------------------  nrIterations: 1  nrThreads:
200  maxActive:
20  maxIdle: 20  nrSamples: 200  totalBorrowTime: 176130  totalReturnTime:
7369  avg BorrowTime: 880  avg ReturnTime: 36
-----------------------------------------  nrIterations: 1  nrThreads:
400  maxActive:
40  maxIdle: 40  nrSamples: 400  totalBorrowTime: 611424  totalReturnTime:
33628  avg BorrowTime: 1528  avg ReturnTime: 84  Increase maxIdle
-----------------------------------------  nrIterations: 1  nrThreads:
400  maxActive:
40  maxIdle: 5  nrSamples: 400  totalBorrowTime: 717263  totalReturnTime:
57498  avg BorrowTime: 1793  avg ReturnTime: 143
-----------------------------------------  nrIterations: 1  nrThreads:
400  maxActive:
40  maxIdle: 40  nrSamples: 400  totalBorrowTime: 692964  totalReturnTime:
34029  avg BorrowTime: 1732  avg ReturnTime: 85

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message