1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
puts "========"
puts "OCC276"
puts "========"
puts ""
#########################################################
##Bad performance of checkshape on faces with multiple wires
#########################################################
restore [locate_data_file OCC276.brep] result
dchrono h2 reset
dchrono h2 start
checkshape result
dchrono h2 stop
set q2 [ dchrono h2 show ]
regexp {CPU user time: ([-0-9.+eE]+) seconds} $q2 full z2
if { [expr $z2 > 43] } {
puts "Elapsed time is more then 43 seconds - Faulty"
} else {
puts "Elapsed time is less then 43 seconds - OK"
}
set 2dviewer 0
|