A method of generating profiled optimized code using user interface (17)
that allows a user to visually understand, inspect, and manipulate a compiled application
program as a function of compiler options, such as, code size and speed, is provided.
A program (11) is compiled in a compiler (13) with two or more compiler
options such as size and speed and the resulting executables (14) are profiled
(15). The results of the profiles (19) are analyed in a solver (21)
for generating sets of useful solutions (23) wherein the sets have methods
of compiling at the function level. The useful solutions (23) are displayed
(18) at the user interface (17) to allow the user to visually understand,
inspect and manipulate compiler options to select compiler options (13a)
for the program.