1. A profiling system for runtime environments, comprising: a software application written in a platform-independent programming language; a non-application-code component invoked by said software application; and a profiling tool for generating a runtime metric, said runtime metric including an application metric and a non-application-code metric, said profiling tool generating said application metric from said software application and said non-application-code metric from said non-application-code component.