0027691: Remove dchrono from all test cases and move its to perf group
[occt.git] / tests / perf / modalg / bug10160_3
CommitLineData
a4eba920 1puts "TODO OCC11111 ALL: Error : is WRONG because number of "
61c421bf 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 ..."
44fae8b1 18dchrono h0 restart
61c421bf 19bop b1 b2
44fae8b1 20dchrono h0 stop counter bop
61c421bf 21
22puts "Start boolean operation ..."
44fae8b1 23dchrono h restart
61c421bf 24#
25# BOOLEAN OPERATION ----- START
26#
27for {set i 1} {$i <= ${NbTests}} {incr i} {
28 bopcut result
29}
30#
31# BOOLEAN OPERATION ----- FINISH
32#
44fae8b1 33dchrono h stop counter bopcut
61c421bf 34
58cf74e0 35checkprops result -s 2.36194e+07
36checkshape result
61c421bf 37
38# Analysis of "nbshapes res"
a4eba920 39checknbshapes result -vertex 24 -edge 34 -wire 20 -face 19 -shell 4 -solid 4 -compsolid 0 -compound 1 -shape 106
5747059b 40checkview -display result -2d -path ${imagedir}/${test_image}.png