Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!

Code Size Benchmark Comparison Between Delphi And Electron

del elec 05

Code size is a simple metric that compares the number of lines of code required to create the benchmark application in the study. The “Discovering The Best Cross-Platform Framework Through Benchmarking” whitepaper evaluates two frameworks supporting multi-platform desktop application development: Delphi and Electron.

This is the fifth in a series of blog posts looking more closely at each of the 26 individual metrics used in the study, and how Delphi and Electron each fared on these metrics. The first can be found here.

Download the complete whitepaper here

delphi electron cover

Benchmark Category: Developer Productivity

Developer productivity is the measure of effort and code required for developers to complete typical development tasks. Productivity directly impacts product time-to-market and long-term labor costs so tools that increase developer productivity have substantial impacts on business timelines and bottom lines. Productivity can be realized in two distinct ways – reduced coding requirements due to native libraries, and IDE tools like code-completion and visual design.
IDEs with greater library breadth generally result in fewer lines of code per application and produce a clean, lean codebase that minimizes opportunities for bugs or maintenance problems later in the product life cycle. Framework productivity was evaluated according to six metrics that sought to capture how
frameworks and IDEs improve product time-to-market.

Benchmark Metric 5/26: Code Size

Code Size: Total lines of code the developer must write, adhering to accepted formatting and styles, to create a fully functional application. This objective measure of code volume sheds light on the difficulty of future code maintenance – more code typically requires more time to learn and troubleshoot.

Benchmarking Results

Delphi Score: 5 (out of 5)

The Delphi FMX RSS reader required 178 lines of typed code total and 97 lines for the GUI (54%).

Electron Score: 3 (out of 5)

The Electron RSS reader required 293 lines of typed code total and 115 lines for the GUI (39%).

Download the complete whitepaper here

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.