0027691: Remove dchrono from all test cases and move its to perf group
[occt.git] / tests / perf / modalg / bug10160_3
... / ...
CommitLineData
1puts "TODO OCC11111 ALL: Error : is WRONG because number of "
2puts "============"
3puts "OCC10160"
4puts "============"
5puts ""
6#######################################################################
7# BOP perfomance improvemen
8#######################################################################
9
10set BugNumber OCC10160
11
12restore [locate_data_file OCC10160-1.brep] b1
13restore [locate_data_file OCC10160-2.brep] b2
14
15set NbTests 3
16
17puts "Prepare boolean operation ..."
18dchrono h0 restart
19bop b1 b2
20dchrono h0 stop counter bop
21
22puts "Start boolean operation ..."
23dchrono h restart
24#
25# BOOLEAN OPERATION ----- START
26#
27for {set i 1} {$i <= ${NbTests}} {incr i} {
28 bopcut result
29}
30#
31# BOOLEAN OPERATION ----- FINISH
32#
33dchrono h stop counter bopcut
34
35checkprops result -s 2.36194e+07
36checkshape result
37
38# Analysis of "nbshapes res"
39checknbshapes result -vertex 24 -edge 34 -wire 20 -face 19 -shell 4 -solid 4 -compsolid 0 -compound 1 -shape 106
40checkview -display result -2d -path ${imagedir}/${test_image}.png