MantisBT - Open CASCADE
View Issue Details
0027879Open CASCADE[OCCT] OCCT:DRAWpublic2016-09-17 13:252016-12-09 16:38
kgv 
bugmaster 
normalminor 
closedfixed 
WindowsVC++ 201564 bit
[OCCT] 6.9.1 
[OCCT] 7.1.0[OCCT] 7.1.0 
Not needed
0027879: Draw Harness, ViewerTest - disable VSync within non-interactive mode
OpenGL context enables vertical synchronization (VSync) by default since #0025556.
This option is intended to eliminate visual artifacts on the screen within interactive mode, however within non-interactive mode this option makes no sense.

At least on Windows 7 platform, VSync still affects performance in non-interactive mode, when window is not displayed on the screen at all.
This increases time required to perform tests on hardware with fast GPU and potentially affects CPU usage statistics as well.

It is proposed to disable VSync in non-interactive mode.
N/A
No tags attached.
Issue History
2016-09-17 13:25kgvNew Issue
2016-09-17 13:25kgvAssigned To => kgv
2016-09-17 13:32gitNote Added: 0057883
2016-09-17 13:32kgvNote Added: 0057884
2016-09-17 13:32kgvAssigned Tokgv => san
2016-09-17 13:32kgvStatusnew => resolved
2016-09-17 13:33kgvRelationship addedrelated to 0025556
2016-09-17 13:33kgvDescription Updatedbug_revision_view_page.php?rev_id=14712#r14712
2016-09-20 12:35sanNote Added: 0057945
2016-09-20 12:35sanAssigned Tosan => bugmaster
2016-09-20 12:35sanStatusresolved => reviewed
2016-09-20 12:41mkvAssigned Tobugmaster => mkv
2016-09-21 12:06mkvNote Added: 0057980
2016-09-21 12:07mkvNote Added: 0057981
2016-09-21 12:07mkvAssigned Tomkv => bugmaster
2016-09-21 12:07mkvStatusreviewed => tested
2016-09-21 12:07mkvTest case number => Not needed
2016-09-23 10:21bugmasterChangeset attached => occt master 14cb22a1
2016-09-23 10:21bugmasterStatustested => verified
2016-09-23 10:21bugmasterResolutionopen => fixed
2016-10-28 21:45gitNote Added: 0059523
2016-12-09 16:30aivStatusverified => closed
2016-12-09 16:38aivFixed in Version => 7.1.0

Notes
(0057883)
git   
2016-09-17 13:32   
Branch CR27879 has been created by kgv.

SHA-1: 3288d507fd9539ba490f696bbb603bbb70d70800


Detailed log of new commits:

Author: kgv
Date: Sat Sep 17 13:32:13 2016 +0300

    0027879: Draw Harness, ViewerTest - disable VSync within non-interactive mode
(0057884)
kgv   
2016-09-17 13:32   
Patch is ready for review.
(0057945)
san   
2016-09-20 12:35   
Branch CR27879 reviewed without remarks, ready for testing.
(0057980)
mkv   
2016-09-21 12:06   
Dear BugMaster,
Branch CR27879 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
SHA-1: 3288d507fd9539ba490f696bbb603bbb70d70800

Number of compiler warnings:

occt component :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)

products component :
Linux: 64 (64 on master)
Windows: 0 (0 on master)
MacOS : 1149

Regressions/Differences/Improvements:
No regressions/differences

Testing cases:
Not needed

Testing on Linux:
occt component :
Total MEMORY difference: 91034768 / 89870280 [+1.30%]
Total CPU difference: 19355.999999999796 / 19211.76999999994 [+0.75%]
products component :
Total MEMORY difference: 30046290 / 30009119 [+0.12%]
Total CPU difference: 5078.559999999979 / 5121.159999999977 [-0.83%]

Testing on Windows:
occt component :
Total MEMORY difference: 57204192 / 57211877 [-0.01%]
Total CPU difference: 17982.37567089863 / 18509.12864749872 [-2.85%]
products component :
Total MEMORY difference: 21267638 / 21232183 [+0.17%]
Total CPU difference: 4853.877514399948 / 4959.0221883999575 [-2.12%]

There are no differences in images found by testdiff.
(0057981)
mkv   
2016-09-21 12:07   
Dear BugMaster,
Branch CR27879 is TESTED.
(0059523)
git   
2016-10-28 21:45   
Branch CR27879 has been deleted by kgv.

SHA-1: 3288d507fd9539ba490f696bbb603bbb70d70800