Many compiler optimization techniques depend on which part code has been executed frequently. Profilingwill trace and record these information that a compiler needs automatically, which is useful to other phases duringcompile. Profiling will instrument some internal code that gather these information during a program executes. For ex-ample, edge profiling computes the frequency of basic block and the probability of edge in control flow graph. Valueprofiling determine which variables have invariant behavior.This paper explores the basic block frequency found from edge profiling. We use the edge profiling to performsome optimization for Spec2000 test cases, showing that the optimization base edge profiling can reduce a program'sexecution time up to 5 %.