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