1. A method of analyzing a computer program, the method comprising: running code of the computer program over a plurality of intervals of execution; during said step of executing code, tracking a statistic for a program component; identifying a behavior of the computer program over each of the plurality of intervals of execution based on the tracked statistic; comparing at least one identified behavior for at least one interval of execution to another interval of execution to determine similarity between the intervals of execution.