Application footprint reduce study.
来源:互联网 发布:如何用ppt制作销售网络 编辑:程序博客网 时间:2024/03/29 18:11
The following text based on the study this week, we are focused in developing a new CoreTech module. The size of the new module is 10M , but the the old one is 1M, because the development based on boost and we used a lot of template. Since one of the key point for the product team is performance tunning, so they are really concerned about size of the new SDK.
One of the core value in the culture of trendmicro is customer insight, the product team is our first customer, so we have no choice but to reduce the size. At last we reduce 50% successfully, if we use UPX to pack it , it can be 2.1M.
1. Use dynamic link instead of static link can greatly reduce the executable size.
2. Link options “/OPT:NOICF /OPT:NOREF /OPT:NOWIN98 /INCREMENTAL:NO” are useful to reduce the executable file size.
After to adopt previous two steps, the size of IAU SDK drops to 10M, but it is not light-weighted enough for TIS.
3. We find some plugins are thin but the others are fat. And we found two boost XML option API: read_xml and write_xml can lead considerable executable size increment.
So if we wrap both APIs a dll we can reduce the SDK size to 6.2M (include the 3rd party incremental libraries, 1M).
Add i aslo suggest anyone who interested in the topic should read a useful ariticle named "Techniques for reducing Executable size" , you can find it by google.
- Application footprint reduce study.
- Compile with ARM Thumb2 to Reduce Memory Footprint and Improve Performance
- IT footprint
- 添加footprint
- The study of map() and reduce() function in Python(20170913)
- The Dot Net Application Domain Study
- Android Study —— Application Fundamentals
- Android——The application study has stopped unexpectedly
- 碳足迹 carbon footprint
- Redis内存footprint
- reduce
- reduce()
- reduce( )
- study
- study
- study
- study
- STUDY
- Java编程中更新XML文档的常用方法
- 中国程序员联盟群特种兵选拔考试题目--VB6
- 破除java神话(一) 垃圾收集解决所有的内存问题
- jsp生成静态html页思路【1】
- Hibernate学习笔记1 -- VO与PO
- Application footprint reduce study.
- BPEL之贷款审批案例(1)
- 《深入浅出Hibernate》读书笔记4——脏数据
- 9大怪异浴室高科技产品排行榜
- 中国程序员联盟群特种兵选拔考试题目--C
- 16进制和字符串之间转换
- 走上开放之路: .NET 开发人员的 J2EE 基础(.NET 程序员转向 J2EE 的路标图)
- 挺不错的验证码(代码不是自己写的)
- 中国程序员联盟群特种兵选拔考试题目--C++