0027341: Incorrect exact HLR results
[occt.git] / tests / bugs / modalg_6 / bug27085_2
CommitLineData
26ca3bd5 1puts "============"
2puts "OCC27085"
3puts "============"
4puts ""
5###############################
6## ShapeUpgrade_UnifySameDomain very large performance difference for seemingly similar shapes
7###############################
8
9restore [locate_data_file bug27085_fused_primitive.slow.brep] sp
10
11dchrono h reset
12dchrono h start
13
14unifysamedom res sp
15
16dchrono h stop
17set q [dchrono h show]
18
19regexp {CPU user time: ([-0-9.+eE]+) seconds} $q full z
20puts "$z"
21
22set max_time 8
23
24if { $z > ${max_time} } {
25 puts "Elapsed time is more than ${max_time} seconds - Faulty"
26} else {
27 puts "Elapsed time is less than ${max_time} seconds - OK"
28}