mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Remove performance comparing with hardcoded value. Test cases for performance of some commands were moved to perf group. Updated documentation.
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
puts "TODO OCC11111 ALL: Error : is WRONG because number of "
|
|
puts "============"
|
|
puts "OCC10160"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# BOP perfomance improvemen
|
|
#######################################################################
|
|
|
|
set BugNumber OCC10160
|
|
|
|
restore [locate_data_file OCC10160-1.brep] b1
|
|
restore [locate_data_file OCC10160-3.brep] b2
|
|
|
|
set NbTests 3
|
|
|
|
puts "Prepare boolean operation ..."
|
|
dchrono h0 restart
|
|
bop b1 b2
|
|
dchrono h0 stop counter bop
|
|
|
|
puts "Start boolean operation ..."
|
|
dchrono h restart
|
|
#
|
|
# BOOLEAN OPERATION ----- START
|
|
#
|
|
for {set i 1} {$i <= ${NbTests}} {incr i} {
|
|
bopcommon result
|
|
}
|
|
#
|
|
# BOOLEAN OPERATION ----- FINISH
|
|
#
|
|
dchrono h stop counter bopcommon
|
|
|
|
#CR24317 checkprops result -s 782201
|
|
checkprops result -s 784833
|
|
checkshape result
|
|
|
|
# Analysis of "nbshapes res"
|
|
checknbshapes result -vertex 53 -edge 75 -wire 38 -face 34 -shell 6 -solid 6 -compsolid 0 -compound 1 -shape 213
|
|
checkview -display result -2d -path ${imagedir}/${test_image}.png
|