You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Peter Martin <pf...@hotmail.com> on 2004/07/30 17:14:19 UTC

ODMG performance tests

Hi All:

I am relatively new to OJB but so far have managed to get things working. 
However I carreid out a performance test against MsSQLServer using the ant 
perf-test and am a bit concerned about the level of memory usage. I realise 
that we don't want to start posting each others performance test results to 
this mailing list but the memory usage really does seem very high to me. 
Does anyone have an explanation for why this could be so high? I am using 
rc6 and the JSQLConnect driver.

Thanks in advance!
Peter

      [ojb] # Start PerfTest: JDBC #
      [ojb] allocated memory after test: 10655 kb
      [ojb] perform test loop 2
      [ojb] allocated memory after test: 17148 kb
      [ojb] perform test loop 3
      [ojb] allocated memory after test: 17141 kb
      [ojb] perform test loop 1

      [ojb] # Start PerfTest: PB #
      [ojb] allocated memory after test: 14211 kb
      [ojb] perform test loop 2
      [ojb] allocated memory after test: 11920 kb
      [ojb] perform test loop 3
      [ojb] allocated memory after test: 11870 kb
      [ojb] perform test loop 1

      [ojb] # Start PerfTest: ODMG #
      [ojb] allocated memory after test: 95668 kb
      [ojb] perform test loop 2
      [ojb] allocated memory after test: 96852 kb
      [ojb] perform test loop 3
      [ojb] allocated memory after test: 97677 kb
      [ojb] perform test loop 1

      [ojb] ========================================================
      [ojb]         OJB PERFORMANCE TEST SUMMARY
      [ojb] 10 concurrent threads, handle 2000 objects per thread
      [ojb]         - performance mode
      [ojb] ========================================================
      [ojb]      API  Period   Total  Insert   Fetch  Update  Delete
      [ojb]            [sec]   [sec]  [msec]  [msec]  [msec]  [msec]
      [ojb] --------------------------------------------------------
      [ojb]     JDBC  48.879  46.903   23289    2230   12050    9334
      [ojb]       PB  38.915  38.132   15953    1207   11570    9400
      [ojb]     ODMG  52.271  51.356   24253    1419   14601   11082
      [ojb]      OTM  69.062  67.253   42088    1533   12182   11448
      [ojb] ========================================================

      [ojb] PerfTest takes 632 [sec]

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org