Method and system for simulating and analyzing code execution in an on-demand service environment
First Claim
Patent Images
1. A method comprising:
- polling a server to obtain logs containing text representing logged requests;
displaying an execution log for an execution of a software application in a user interface, the software application being on an application server of a server, the software application to respond to the requests originating from remote client devices;
converting text of the obtained logs to simulation interface text files and storing the simulation interface text files;
displaying an execution tree of the execution of the software application as a simulation of the execution of the software application with the server;
receiving a selection of a hierarchical level in the execution tree for the simulated execution of the software application;
finding an entry corresponding to the selected hierarchical level in the execution log;
simulating execution of the found entry in the execution log;
displaying the execution log and highlighting the found entry; and
displaying a backtrace pane having a listing of operations performed during the simulated execution, and tracing operations at nodes of the execution tree in reverse time order in response to the selection of corresponding operations listed in the backtrace pane.
1 Assignment
0 Petitions
Accused Products
Abstract
In accordance with embodiments, there are provided mechanisms and methods for simulating and analyzing code execution in a multi-tenant environment. These mechanisms and methods for simulating and analyzing code execution in a multi-tenant environment can enable embodiments to provide an improved interface for analyzing the performance of application on the multi-tenant database. The ability of embodiments to provide better analysis of simulated execution can enable higher quality application developed in less time.
133 Citations
19 Claims
-
1. A method comprising:
-
polling a server to obtain logs containing text representing logged requests; displaying an execution log for an execution of a software application in a user interface, the software application being on an application server of a server, the software application to respond to the requests originating from remote client devices; converting text of the obtained logs to simulation interface text files and storing the simulation interface text files; displaying an execution tree of the execution of the software application as a simulation of the execution of the software application with the server; receiving a selection of a hierarchical level in the execution tree for the simulated execution of the software application; finding an entry corresponding to the selected hierarchical level in the execution log; simulating execution of the found entry in the execution log; displaying the execution log and highlighting the found entry; and displaying a backtrace pane having a listing of operations performed during the simulated execution, and tracing operations at nodes of the execution tree in reverse time order in response to the selection of corresponding operations listed in the backtrace pane. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A non-transitory machine-readable medium carrying one or more sequences of instructions for simulating and analyzing code execution in a multi-tenant database system, which instruction, when executed by one or more processors, cause the one more processors to carry out the steps of:
-
polling a server to obtain logs containing text representing logged requests; displaying an execution log for an execution of a software application in a user interface, the software application being on an application server of a server, the software application to respond to the requests originating from remote client devices; converting text of the obtained logs to simulation interface text files and storing the simulation interface text files; displaying an execution tree of the execution of the software application as a simulation of the execution of the software application with the server; receiving a selection of a hierarchical level in the execution tree for the simulated execution of the software application; finding an entry corresponding to the selected hierarchical level in the execution log; simulating execution of the found entry in the execution log; displaying the execution log and highlighting the found entry; and displaying a backtrace pane having a listing of operations performed during the simulated execution, and tracing operations at nodes of the execution tree in reverse time order in response to the selection of corresponding operations listed in the backtrace pane. - View Dependent Claims (14, 15, 16)
-
-
17. An apparatus for simulating and analyzing code execution in a multi-tenant database, the apparatus comprising:
-
a processor; and one or more stored sequences of instructions which, when executed by the processor, cause the processor to carry out the steps of; polling a server to obtain logs containing text representing logged requests; displaying an execution log for an execution of a software application in a user interface, the software application being on an application server of a server, the software application to respond to the requests originating from remote client devices; converting text of the obtained logs to simulation interface text files and storing the simulation interface text files; displaying an execution tree of the execution of the software application as a simulation of the execution of the software application with the server; receiving a selection of a hierarchical level in the execution tree for the simulated execution of the software application; finding an entry corresponding to the selected hierarchical level in the execution log; simulating execution of the found entry in the execution log; displaying the execution log and highlighting the found entry; and displaying a backtrace pane having a listing of operations performed during the simulated execution, and tracing operations at nodes of the execution tree in reverse time order in response to the selection of corresponding operations listed in the backtrace pane. - View Dependent Claims (18, 19)
-
Specification