Code sizes and memory consumption.

PRIMA is quite big, so you'd better have a machine with enough memory. 32 MB of RAM is highly recommended for a single-user workstation running FreeBSD, Linux or Windows NT.

Presently, the system-independent portion of manually-written C code has a size of 356747 bytes (12695 lines). The size of Win32-specific code is 278239 bytes (9583 lines), the size of Unix-specific code is 191362 bytes (6910 lines). The total size of all manually written C headers is 137599 bytes (4866 lines). The size of the Perl code implementing PRIMA classes is 616204 bytes, or 19742 lines. Autogenerated code for thunks takes 581506 bytes, or 17676 lines.

The minimal ``Hello, world!'' program using a non-optimized debugging version of PRIMA core occupies 5576 kilobytes on Windows NT 4.0 (according to Task Manager), and 7076 kilobytes on FreeBSD 4.0 (according to ps(1)). Non-trivial programs, naturally, take more than that. The exact figures are probably of no interest since the sizes vary widely for different classes of applications. For image processing tasks involving operations with 768x576 8-bit grayscale images, it is not uncommon to reach 32MB and more.

It is difficult to measure a speed of a graphical toolkit objectively. PRIMA programs are usually slow at startup because of loading of large dynamically linked libraries and compilation of the large amounts of Perl code. Once started, however, it is quite fast. One of us runs PRIMA programs on his old 486 home machine with 32 MB of RAM, and has not noticed any unresponsiveness.