5 ###############################
6 ## Regression of performance of BRepExtrema_ExtCC (1000 times slower)
7 ###############################
9 if { [regexp {Debug mode} [dversion]] } {
10 if { [regexp {Windows} [dversion]] } {
18 if { [regexp {Windows} [dversion]] } {
27 restore [locate_data_file bug25058_e1.brep] e1
28 restore [locate_data_file bug25058_e2.brep] e2
36 set q [dchrono h show]
38 regexp {CPU user time: ([-0-9.+eE]+) seconds} $q full z
41 if { $z > ${max_time} } {
42 puts "Elapsed time of distmini is more than ${max_time} seconds - Faulty"
44 puts "Elapsed time of distmini is less than ${max_time} seconds - OK"