You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by Dorin Manoli <Do...@dataireland.ie> on 2007/01/02 15:25:43 UTC

Test bug?

HI Lads! 

I got the sources from the net (Source-revision-426164.zip)

 

I was interested in performance test and I run them immediately but
ADO.NET test return foloowing..

 

*****
IBatisNet.DataMapper.Test.NUnit.SqlMapTests.Perf.PerformanceTest.AdoNetO
nly

Objects: 2 Direct ADO.NET: -959653392417.891

Objects: 4 Direct ADO.NET: -479826717353.463

Objects: 8 Direct ADO.NET: -239913362743.833

Objects: 16 Direct ADO.NET: -119956689934.370

Objects: 32 Direct ADO.NET: -59978348439.091

Objects: 64 Direct ADO.NET: -29989174178.296

Objects: 128 Direct ADO.NET: -14994588532.169

 

 

I found that line 138 in PerformanceTest.cs below
"DirectAdoNet(_connection, simples, n, "j1");" function should be
altered and add timer.Close() and after that I can get proper values..