View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0026986 | Open CASCADE | OCCT:Configuration | public | 2015-12-11 22:02 | 2017-09-02 21:50 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | won't fix | ||
Summary | 0026986: Configuration -- use link-time optimization | ||||
Description | Use of global optimization compiler option together with link-time code generation allows VC++ 14 compiler to produce considerably more compact code. This can partially compensate increase of binaries due to use of templates in OCCT 7.0 as compared to 6.9.1, see 0026936. Some stats on sizes of bineries built with VC++ 14: version | all dlls | -------------------- 6.9.1 | 69 737 | master | 84 808 | fix | 73 809 | | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
The problem with growth of the binaries size on VC++ 14 has been resolved by fix for 0026551 (current size of DLLs is ~ 67 MB), thus the issue is moved to 7.1.0. It might be still useful to try link-time optimization, especially in Android and iOS builds where size of binaries is critical. |
2017-09-02 21:43 manager |
LTSG.xlsx (9,361 bytes) |
|
Experiments show that link time code generation does not bring any noticeable performance gain for execution of OCCT binaries, while it considerably slows down building (mostly linking, especially re-linking). There is minor reduction of size of binaries with Visual Studio 2017 compiler, but it does not seem to be important. Hence, I am closing the issue. See attached Excel file LTCG.xls for details. The measuirements were made on workstation with i7-4790 CPU, SSD as system hard drive (where Visual Studio and other programs are installed) and HDD as data drive (where OCCT is located and built), running Windows 10 64-bit. |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-12-11 22:02 |
|
New Issue | |
2015-12-11 22:02 |
|
Assigned To | => bugmaster |
2015-12-26 14:48 |
|
Note Added: 0049612 | |
2015-12-26 14:48 |
|
Target Version | 7.0.0 => 7.1.0 |
2016-11-03 17:13 |
|
Target Version | 7.1.0 => 7.2.0 |
2017-04-20 10:25 | bugmaster | Assigned To | bugmaster => ski |
2017-07-27 11:15 |
|
Target Version | 7.2.0 => 7.4.0 |
2017-08-30 15:36 |
|
Relationship added | related to 0022951 |
2017-09-01 06:51 |
|
Relationship added | parent of 0029071 |
2017-09-02 21:43 |
|
File Added: LTSG.xlsx | |
2017-09-02 21:50 |
|
Note Added: 0070156 | |
2017-09-02 21:50 |
|
Status | new => closed |
2017-09-02 21:50 |
|
Resolution | open => won't fix |
2017-09-02 21:50 |
|
Target Version | 7.4.0 => |