TwineCompile is an addon for C++Builder that is currently in GetIt for free to update subscription customers, for all editions, including Pro. Let’s see how well it works with real-world projects.
TwineCompile speeds up C++Builder compile time significantly. To test this, we got two large open source C++ libraries which build with C++Builder: Xerces and SDL 2. Xerces is an XML library, and SDL a very well-known open source windowing and input library, often used for games. They’re both great test cases since they’re decent sized large C++ codebases.
- In-IDE, without TwineCompile, Xerces took 5 minutes 19 seconds to build. With TwineCompile, Xerces took 51 seconds. That’s a 6x speedup
- In-IDE, without TwineCompile, SDL 2 took 2 minutes 10 seconds to build. With TwineCompile, SDL 2 took 21 seconds. That’s a 6.2x speedup
Pretty good results! Imagine speeding up your own C++ project build times by that much – six times as fast. This scales roughly with the number of CPU cores.
- These results were generated on an older Intel i7-3930K processor (6 cores with hyperthreading) with 16GB of RAM, on a Samsung XP941 M.2 PCIe SSD disk.
- The performance gain is mostly due to the number of cores available. We’d expect you to see, on a clean build, roughly a 4x gain with a 4-core CPU, or a 12x speedup with a 12-core CPU. However, TwineCompile also implements caching and has other techniques which help in other scenarios (ie make, not a clean build, or more resource-constrained machines) so that a Make can be even faster. There is a 50x speedup we sometimes cite which can be achieved in some scenarios – very impressive.
You can find TwineCompile in GetIt today, in the ‘IDE Plugins’ section. It’s free for Professional as well as Architect/Enterprise if you have active update subscription (this is new, it was not always available to Pro, but it is now.)
I recommend you download! We’re keen to hear the difference it makes to your project.
Design. Code. Compile. Deploy.
Start Free Trial Upgrade Today
Free Delphi Community Edition Free C++Builder Community Edition
I have been succesfully using version 5.1
I just installed 5/2 (after uninstalling 5.1) and get the following message.
The JTBuilderLoader104.dll file in not in the folder.
C:\Program Files (x86)\JomiTech\TwineCompile\TCTargets104.targets(111,5): error MSB4062: The “TCInitTasks” task could not be loaded from the assembly C:\Program Files (x86)\JomiTech\TwineCompile\JTBuildLoader104.dll. Could not load file or assembly ‘file:///C:\Program Files (x86)\JomiTech\TwineCompile\JTBuildLoader104.dll’ or one of its dependencies. The system cannot find the file specified. Confirm that the declaration is correct, and that the assembly and all its dependencies are available.
Looks like there is a new update in GetIt. I experienced the same error and the update on December 16th fixed it.
Apologies for this, there was an issue with the initial build of TwineCompile version 5.2.2 in GetIt. There is a new build uploaded this morning that corrects the issue.
Works for me know. Thanks all.
Where can I see a replay of the Dec 17, 2020 webinar “Boost C++Builder Compile Speed with TwineCompile – Deep Dive Webinar starts in 1 Hour”.
Can you share the projects you used to compile Xerces with C++Builder?