1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-10 11:34:06 +03:00
occt/tests/bugs/modalg_5/bug24157_1
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

27 lines
534 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 3. 4. 5.
bclearobjects
bcleartools
baddcompound b1
baddcompound b2
bfillds
regexp { +Tps: +([-0-9.+eE]+)} [bbuild result -t] full tps_time
if { $tps_time > 60 } {
puts "Error: low performance"
} else {
puts "OK: high performance"
}
set 2dviewer 1