BRegion tests results, for reference

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7130 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2004-03-31 10:58:22 +00:00
parent 015dd75715
commit bf7833a73a
2 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,34 @@
Tests executed on a Duron 1200
ikki:~/projects/current# tests/UnitTester BRegion
------------------------------------------------------------------------------
Tests
------------------------------------------------------------------------------
BRegion::Construction Test
+ PASSED
Clock time: 0 ms
BRegion::Exclude Test
+ PASSED
Clock time: 251 ms
BRegion::Include Test
+ PASSED
Clock time: 260 ms
BRegion::Intersect Test
+ PASSED
Clock time: 102 ms
BRegion::OffsetBy Test
+ PASSED
Clock time: 0 ms
------------------------------------------------------------------------------
Results
------------------------------------------------------------------------------
+ PASSED
As you can see, it may be worth optimizing especially the Exclude and Include methods.
See RegionSupport.cpp (in particular RSub() and ROr()) for more info.

View File

@ -0,0 +1,30 @@
Tests executed on a Duron 1200
ikki:~/projects/current# tests/UnitTester -r5 BRegion
------------------------------------------------------------------------------
Tests
------------------------------------------------------------------------------
BRegion::Construction Test
+ PASSED
Clock time: 0 ms
BRegion::Exclude Test
+ PASSED
Clock time: 284 ms
BRegion::Include Test
+ PASSED
Clock time: 265 ms
BRegion::Intersect Test
+ PASSED
Clock time: 113 ms
BRegion::OffsetBy Test
+ PASSED
Clock time: 0 ms
------------------------------------------------------------------------------
Results
------------------------------------------------------------------------------
+ PASSED