mirror of https://github.com/CGAL/cgal
- Added CGAL_square bench.
This commit is contained in:
parent
2dc447c6e0
commit
fb4633c749
|
|
@ -65,6 +65,11 @@ void bench()
|
||||||
t.stop();
|
t.stop();
|
||||||
cout << c << "\tsqrt\t" << t.time()-dt << endl;
|
cout << c << "\tsqrt\t" << t.time()-dt << endl;
|
||||||
|
|
||||||
|
dt = t.time(); t.start();
|
||||||
|
for (i=0; i<loops; i++) { c = CGAL_square(b); }
|
||||||
|
t.stop();
|
||||||
|
cout << c << "\tsquare\t" << t.time()-dt << endl;
|
||||||
|
|
||||||
dt = t.time(); t.start();
|
dt = t.time(); t.start();
|
||||||
for (i=0; i<loops; i++) { c = b; }
|
for (i=0; i<loops; i++) { c = b; }
|
||||||
t.stop();
|
t.stop();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue