发明名称 Response time measurement system and method
摘要 Embodiments of the present invention relate to a computer-implemented method that includes binary weaving a second computer program code into the byte code of a first computer program code using a code weaver to form a third program product with a plurality of time measurement points. The programs can include sending a request via a network requesting information from a server computer system. The embodiment of the present invention may include measuring the execution time between the execution of a start point to the execution of a corresponding stop point.
申请公布号 US8990779(B2) 申请公布日期 2015.03.24
申请号 US200912539371 申请日期 2009.08.11
申请人 SAP SE 发明人 Schalk Michael
分类号 G06F9/44;G06F9/45;G06F11/36;G06F9/445 主分类号 G06F9/44
代理机构 代理人
主权项 1. A computer-implemented method, comprising: analyzing different code compilations of an application by receiving and storing response time data in one or more log files from the different code compilations of the application to determine a best code compilation from the different code compilations with a best response time to thereby generate the application using code corresponding to the best code compilation having the best response time, including: sending a communication from a first computer system to a second computer system for each of the different code compilations of the application, the communication requesting information via a network for measuring a response time of portions of a first computer program code stored in memory for each of the different code compilations of the application;configuring the first computer program code for each of the different code compilations of the application using a second computer program code to initiate a timer when a start point is reached in the first computer program code and the timer is stopped when a stop point is reached in the first computer program code, the second computer program code inserting high level language code into a byte code of the first computer program code for each of the different code compilations of the application to create a woven program product for each of the different code compilations of the application with the start and stop points based on receiving input from a user specifying where to insert the start and stop points into the byte code, and the code between the start and stop points sends the communication from the first computer system to the second computer system via the network;displaying output generated by the woven program product for each of the different code compilations of the application to the user including a result of the information received from the second computer system related to the inserted start and stop points;calculating the response time for each of the different code compilations of the application and displaying the calculated response time for each of the different code compilations of the application to the user after displaying the result of the information received from the second computer system, the response time comprising both a first computer system execution time and a second computer system execution time for measuring the first and second computer system execution times between execution of the start point to execution of the stop point; andstoring the response time for each of the different code compilations of the application as the response time data in the one or more log files.
地址 Walldorf DE