0024024: Slow import of specific STEP data
[occt.git] / tests / bugs / step / bug24024
... / ...
CommitLineData
1puts "=========="
2puts "OCC24024"
3puts "=========="
4puts ""
5######################################
6# Slow import of specific STEP data
7######################################
8
9dchrono h reset
10dchrono h start
11stepread [locate_data_file bug24024_slow_import.stp] a *
12dchrono h stop
13
14tpcompound result
15
16set info [dchrono h show]
17regexp {CPU user time: ([-0-9.+eE]+) seconds} $info full cpu_time
18if { $cpu_time > 300 } {
19 puts "Error: performance of import of data is low"
20} else {
21 puts "OK: performance of import of data is high"
22}
23
24set 2dviewer 1
25