Speed Up Project Builds In Eclipse
来源:互联网 发布:算法c语言实现pdf 网盘 编辑:程序博客网 时间:2024/05/29 13:42
In this post I will give you some tips which will help address some of the issues which slow down the compile times greatly, in eclipse (or some other IDEs and compilers). Using these tips you can speed up your build times greatly.
1. Speed up by enabling Multi-threading in eclipse
Biggest issue due to which we have to face slower builds is not utilizing the power of modern day CPUs. These CPUs have got multiple threads and if you are not using all of them you are wasting some of your time. By default eclipse compiles your projects using single thread, and in most cases the default behavior is left as is, without any changes and hence most of the people are living with slow builds times.
All you have to do in order to enable multi-threaded builds, go to the project properties and click the C/C++ Builder settings and then enable parallel builds. Once you have enabled parallel builds, your builds will speed up at least twice.
2. Speed up by Disabling Antivirus
One more issue that seriously slows down build process is that antiviruses continuously scan the source files, build processes as well as the built files. Especially now that we have enabled parallel builds antivirus scanning is going to be more of a problem for us. But the best part is we could disable the antivirus anytime. Its won’t be much of a risk as we are mostly playing with source files instead binaries (provided your build system itself is not backdoored :S). Even better is that most antiviruses have got some kind of exception list or ignore list. You could add your IDE folder, source folders and compiler folders to the exception list. This will speed up your build process at least twice. In some cases adding folders to exception list may not work and some antiviruses still keep scanning but won’t report if something is wrong with exception-ed folders.
3. Speed up by using more RAM for eclipse process
We have enabled parallel builds and disabled our antivirus, but it will do us no good if there is not much ram to be used. Especially if you are not using SSD. Eclipse is notorious for using huge amounts of ram to function properly and smoothly. So, to cope up with this you got to give at least 1.5 GB of memory to eclipse to stay smooth and fully utilize processor power.
- Speed Up Project Builds In Eclipse
- Setting up Automatic NDK Builds in Eclipse
- Setting up Automatic NDK Builds in Eclipse
- Setting up Automatic NDK Builds in Eclipse
- Setting up Automatic NDK Builds in Eclipse
- Setting up Automatic NDK Builds in Eclipse
- Setting up Automatic NDK Builds in Eclipse
- 【转】Setting up Automatic NDK Builds in Eclipse
- Speed up Eclipse
- New Apache Project 'Drill' Aims to Speed Up Hadoop Queries
- Set up Project in BF
- Speeding up Gradle builds
- Speeding up Gradle builds
- Tips for speed up your algorithm in the CUDA programming
- How to speed up Remote Desktop Connection in Win7
- Speed up your eclipse as a super fast IDE
- Builds different channels of code in Android Studio and Eclipse.
- Setting up OpenCV in Eclipse
- HBase基本操作
- 企业级的数据链路保护是什么?
- 第一阶段第五天(Scanner类,选择和循环结构)
- Qt 网络数据传输
- IT人员健康信号之鼻炎养护
- Speed Up Project Builds In Eclipse
- MVVM模式--Model,View,ViewModel三者平衡
- less命名规范
- 动态链接库(一)
- MultiProcess下Log的打印要注意的一点
- 一些实用的API文档地址
- python 建立静态资源服务器报错
- 华为FusionStage PaaS平台技术探秘之应用调度与资源管理
- 【R语言数据导出txt】 write.table 函数用法