1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00
occt/tests/bugs/modalg_5/bug24157_2
pkv f1baf495b6 0024157: Parallelization of assembly part of BO
The modifications deal with the parallelization of P-curves computations.
Added test cases bugs/modalg_5/bug24157_1 ... bug24157_9
2014-05-22 17:50:46 +04:00

30 lines
586 B
Plaintext

puts "============"
puts "OCC24157"
puts "============"
puts ""
############################################
# Parallelization of assembly part of BO
############################################
restore [locate_data_file bug24157_x_512_solids_glued] b1
tcopy b1 b2
ttranslate b2 2. 2. 2.
tcopy b1 b3
ttranslate b3 4. 4. 4.
bclearobjects
bcleartools
baddcompound b1
baddcompound b2
baddcompound b3
bfillds
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
if { $tps_time > 200 } {
puts "Error: low performance"
} else {
puts "OK: high performance"
}
set 2dviewer 1