摘要 |
Disclosed are method and device for measuring system performance in real time. The method includes: the foreground receives a real-time measurement task comprising a measurement period parameter constructed by the background according to the concerned service data, with the quantity of the service data being lower than a preset value; the foreground extracts the current data corresponding to the real-time measurement task from a performance measurement cache area according to the measurement period parameter; the foreground acquires the real-time measurement data corresponding to the real-time measurement task according to the current data; and the foreground reports the real-time measurement data to the background. In the present invention, the background sends the concerned service data to the foreground by way of a real-time measurement task, and the foreground merely reports few service data. |