X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=tests%2Fbugs%2Fmoddata_3%2Fbug25487_2;h=17b300f55dd5f44b5700e677b1862f0d7efe445b;hb=44fae8b1936aa1f4e29769df51e6bd7242b0b169;hpb=810b672ff3f556d4fe0da7d39dab4eff96efba82 diff --git a/tests/bugs/moddata_3/bug25487_2 b/tests/bugs/moddata_3/bug25487_2 deleted file mode 100644 index 17b300f55d..0000000000 --- a/tests/bugs/moddata_3/bug25487_2 +++ /dev/null @@ -1,69 +0,0 @@ -puts "========" -puts "OCC25487" -puts "========" -puts "" -########################################## -# Extrema_GenExtPS needs to be optimized -########################################## - -cpulimit 1500 - -pload DATAEXCHANGEKERNEL - -# Restore testing shape and get timing characteristics for operation stepread -dchrono perf_h reset -dchrono perf_h start -stepread [locate_data_file OCC25487_LP2.stp] a * -dchrono perf_h stop - -# Get elapsed time for operation stepread -set chrono_info [dchrono perf_h show] -regexp {CPU user time: ([-0-9.+eE]+) seconds} $chrono_info full CPU_time -puts "Elapsed time is: $CPU_time" - -# Check prformance on Windows -if { [checkplatform -windows] } { - if {[regexp {Debug mode} [dversion]]} { - # DEBUG mode - # initial CPU_time for WINDOWS in DEBUG mode is 1208 ((549+55)*2) sec - puts "Checking WINDOWS performance in debug mode..." - if {$CPU_time > 1208.} { - puts "ERROR: OCC25487 is reproduced." - puts " Low performance: $CPU_time (but should be less than 1208 sec)" - } else { - puts "Done!" - } - } else { - # OPTIMIZE mode - # initial CPU_time for WINDOWS in OPTIMIZE mode is 604 (549+55) sec - puts "Checking WINDOWS performance in optimize mode..." - if {$CPU_time > 604.} { - puts "ERROR: OCC25487 is reproduced." - puts " Low performance: $CPU_time (but should be less than 604 sec)" - } else { - puts "Done!" - } - } -} else { - if {[regexp {Debug mode} [dversion]]} { - # DEBUG mode - # initial CPU_time for LINUX in DEBUG mode is 1500 sec - puts "Checking LINUX performance in debug mode..." - if {$CPU_time > 1500.} { - puts "ERROR: OCC25487 is reproduced." - puts " Low performance: $CPU_time (but should be less than 1500 sec)" - } else { - puts "Done!" - } - } else { - # OPTIMIZE mode - # initial CPU_time for LINUX in OPTIMIZE mode is 575 (523+52) sec - puts "Checking LINUX performance in optimize mode..." - if {$CPU_time > 575.} { - puts "ERROR: OCC25487 is reproduced." - puts " Low performance: $CPU_time (but should be less than 575 sec)" - } else { - puts "Done!" - } - } -}