Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save remzmike/81e02b716624a8c9e6996d14715ee332 to your computer and use it in GitHub Desktop.
Save remzmike/81e02b716624a8c9e6996d14715ee332 to your computer and use it in GitHub Desktop.
Object Pascal binary sizes over 20 years.

Comparison of binary sizes. Object Pascal platforms. 20 years apart.

Release builds for all.

A = GUI Application with empty form
B = GUI Application with form containing a GR32 PaintBox

Platform A B
Delphi 7 (2002) 368k 481k
Delphi 10.2 (2017) 2221k 2457k
Lazarus 2.2.4 (2022) 2802k idc

PS. Skia 4 Delphi library is 18000k.


03/07/2023  07:09 PM           152,576 D7_EMPTY_Project2_UPX.exe
03/07/2023  07:15 PM           194,560 D7_EMPTY_GR32_Project1_UPX.exe
03/07/2023  07:09 PM           368,128 D7_EMPTY_Project2.exe
03/07/2023  07:15 PM           481,792 D7_EMPTY_GR32_Project1.exe
03/07/2023  06:48 PM           644,608 D102_EMPTY_Project3_UPX.exe
03/07/2023  07:20 PM           724,480 D102_EMPTY_GR32_Project3_UPX.exe
03/07/2023  06:56 PM           931,840 LZ_EMPTY_project1_UPX.exe
03/07/2023  06:48 PM         2,221,568 D102_EMPTY_Project3.exe
03/07/2023  07:20 PM         2,457,600 D102_EMPTY_GR32_Project3.exe
03/07/2023  06:56 PM         2,802,688 LZ_EMPTY_project1.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment