Accelerate Your Tests and Your Coverage and All The Things!

test-acceleration
Martin Fowler states the following when discussing Continuous Integration (CI) builds:

Try to speed up the commit build. Continuous Integration on a build of a few hours is better than nothing, but getting down to that magic ten minute number is much better. This usually requires some pretty serious surgery on your code base to do as you break dependencies on slow parts of the system.

ElectricAccelerator has traditionally been used to speed up the compile portion of the CI build, but it’s capable of much more.

Unit tests, code coverage and static analysis suites often grow to the point where CI cycles are much longer than the “magic” ten minutes. ElectricAccelerator shortens these suites by splitting them up and distributing them across a cluster.

I recently worked with a prospective client to accelerate their Boost unit testing and MS Visual Studio code coverage suites. They parallelized extremely well, providing up to  11.5x speedup. 

 

unit-test-code-coverage-accelerationUnit test and code coverage suites parallelized at a fine granularity across 5 agents running on a single machine. The Result:agents-utilization
test-run-time
Because the suites are split up at such a fine granularity, the time decreases when agents are added to the cluster.
The Result:test-acceleration-results

For more details on this use case and how you can use the same approach to shorten your CI and test cycles, check out the replay of my webinar.

Watch the Webinar »

Tanay Nagjee

Tanay Nagjee

As a Software Engineer for five years, Tanay Nagjee developed several core features of a highly scalable orchestration/automation platform. A generalist at heart, he assumed various responsibilities and especially enjoyed working with customers on real world use cases. As a Solutions Architect and manager of the Solutions Engineering team, he tackles complex software delivery problems every day.
Tanay Nagjee

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe

Subscribe via RSS
Click here to subscribe to the Electric Cloud Blog via RSS

Subscribe to Blog via Email
Enter your email address to subscribe to this blog and receive notifications of new posts by email.