0014531: Boolean Operation Algorithm fails
[occt.git] / tests / bugs / step / bug24024
CommitLineData
e226a506 1puts "=========="
2puts "OCC24024"
3puts "=========="
4puts ""
5######################################
6# Slow import of specific STEP data
7######################################
8
8b1ad7e0 9cpulimit 1700
10set ver [dversion]
11if { [regexp "Debug" $ver] != 1 } {
12 set cpu_check 450
13} else {
14 set cpu_check 1600
15}
16
e226a506 17dchrono h reset
18dchrono h start
19stepread [locate_data_file bug24024_slow_import.stp] a *
20dchrono h stop
21
22tpcompound result
23
24set info [dchrono h show]
25regexp {CPU user time: ([-0-9.+eE]+) seconds} $info full cpu_time
8b1ad7e0 26if { $cpu_time > $cpu_check } {
e226a506 27 puts "Error: performance of import of data is low"
28} else {
29 puts "OK: performance of import of data is high"
30}
31
5747059b 32checkview -display result -2d -path ${imagedir}/${test_image}.png
e226a506 33