[geos-devel] Current benchmarks - MD

Norman Vine nhv at cape.com
Tue Feb 11 22:36:01 EST 2003


FYI

# segment intersection tests: 232
n Pts: 1024000  Executed in  26518 ms.
Flat profile:

Each sample counts as 0.01 seconds.
  %   cumulative   self              self     total
 time   seconds   seconds    calls   s/call   s/call  name
 29.67      7.08     7.08 161283000     0.00     0.00
BasicCoordinateList::getAt(int)
 27.45     13.63     6.55 160822780     0.00     0.00
Coordinate::Coordinate(Coordinate const&)
  6.87     15.27     1.64 41853974     0.00     0.00  Envelope::init(double,
double, double, double)
  6.12     16.73     1.46 10624588     0.00     0.00
SegmentIntersector::addIntersections(Edge*, int, Edge*, int)
  5.36     18.01     1.28 27902648     0.00     0.00
Envelope::init(Coordinate&, Coordinate&)
  2.85     18.69     0.68 13951325     0.00     0.00
Envelope::overlaps(Envelope)
  2.81     19.36     0.67 18431896     0.00     0.00
RobustCGAlgorithms::orientationIndex(Coordinate, Coordinate, Coordinate)

after inlining the top two

# segment intersection tests: 232
n Pts: 1024000  Executed in  25277 ms.
Done

Almost the same --  this is good :-)

Cheers

Norman




More information about the geos-devel mailing list