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