1. An application server that performs dynamic compilation for executing a program, the server comprising a processor that performs a process including: an execution performance information obtainment process that obtains execution performance information of the program when the program is executed by an interpreter; a compilation timing information setting process that sets compilation timing information for each method included in the program in accordance with information on a performance difference between a time point before a stabilization of an execution of the program and a time point after a stabilization of an execution performance of the program and information on a period that the execution performance stabilizes, the time point before the stabilization of the execution performance being a time point of activation completion of the program, the time point after the stabilization of the execution performance being a time point at which a fluctuation in the number of times of compilation by a dynamic compiler becomes equal to or smaller than a prescribed value, and the information on the performance difference and the information on the period being included in the obtained execution performance information; and a dynamic compilation process that compiles each method into a native code in accordance with the compilation timing information.