The latest 2013.05 release of Sourcery CodeBench has several new enhancements, one of which is the availability of the compile cache feature (currently available on Linux hosts).
Some of you may already be familiar with the “ccache” utility that is available in the open-source community and can be used along with gcc. The Mentor Embedded team has made improvements upon this utility also making it available to all users of Sourcery CodeBench.
In our benchmarks, compile times have reduced by as much as half (speed-up factor of 2)! Of course, performance gains are dependent on factors such as design type, machine configurations etc. The table below is an example of one of the benchmarks, compiling the binutils (GNU binary utilities) source. With default gcc, the compile time is 454 secs but with Sourcery CodeBench and the new caching feature, this drops to 207 secs!
After enabling the compile cache feature, the very first time a design is compiled, the run time is slightly longer than usual as caching is performed and information is stored. However, during the second compile, runtimes fall dramatically as the cached data is now reused. Compile speed-ups of up to 2.187x were achieved in this benchmark.
Another new capability in this release is the Customer Experience Improvement Program. Through this program, you can help make Sourcery CodeBench better by sharing selective information about your compile runs with us. No source code is ever shared. Only profile-type information such as project options, hashes of source, configuration info etc. are collected. We would appreciate as many users to participate in this program as possible. There are multiple ways to opt-in and opt-in/opt-out can be done anytime.
Have you tried out this new compile cache feature in Sourcery CodeBench? We would love to hear about your experience. Interested in trying this feature but do not have a license? Download a free 30-day trial of Sourcery CodeBench.