0024157: Parallelization of assembly part of BO
[occt.git] / tests / bugs / modalg_5 / bug24157_2
1 puts "============"
2 puts "OCC24157"
3 puts "============"
4 puts ""
5 ############################################
6 # Parallelization of assembly part of BO
7 ############################################
8
9 restore [locate_data_file bug24157_x_512_solids_glued] b1
10 tcopy b1 b2
11 ttranslate b2 2. 2. 2.
12 tcopy b1 b3
13 ttranslate b3 4. 4. 4.
14 bclearobjects
15 bcleartools
16 baddcompound b1
17 baddcompound b2
18 baddcompound b3
19 bfillds
20
21 regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
22
23 if { $tps_time > 200 } {
24   puts "Error: low performance"
25 } else {
26   puts "OK: high performance"
27 }
28
29 set 2dviewer 1