[geos-devel] Current Benchmarks

Martin Davis mbdavis at VividSolutions.com
Tue Feb 11 20:45:46 EST 2003


And people wonder why C isn't portable...

Martin Davis, Senior Technical Specialist
Vivid Solutions Inc.
Suite #1A-2328 Government Street   Victoria, B.C.   V8T 5G5
Phone: (250) 385 6040    Fax: (250) 385 6046
EMail: mbdavis at vividsolutions.com  Web: www.vividsolutions.com


> -----Original Message-----
> From: Paul Ramsey [mailto:pramsey at refractions.net]
> Sent: Tuesday, February 11, 2003 5:21 PM
> To: Yury A. Bychkov; GEOS Development List
> Subject: Re: [geos-devel] Current Benchmarks
> 
> 
> I'm using exactly the same code as you are... the only thing 
> I can think 
> is that the GNU library uses microseconds and the MS library uses 
> milliseconds.
> 
>    startTime=clock();
>    poly->intersects(box);
>    endTime=clock();
>    double totalTime=(double)(endTime-startTime);
>    printf( "n Pts: %i  Executed in %6.0f ms.\n",nPts,totalTime);
> 
> 
> Yury A. Bychkov wrote:
> > Hi Paul,
> > 
> > Are you sure you don't have 3 extra 0's at the end of those numbers?
> 
> 
> -- 
>        __
>       /
>       | Paul Ramsey
>       | Refractions Research
>       | Email: pramsey at refractions.net
>       | Phone: (250) 885-0632
>       \_
> 
> 
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel
> 



More information about the geos-devel mailing list