Skip to content

Code Profile

Prasad Talasila edited this page Feb 18, 2018 · 4 revisions

BITS Darshini in Eclipse

We shall use the information provided by JProfiler to fill the following table.

Profiling Context

  • Profiler Version:
  • Eclipse Version:
  • Class being run:
  • Code version:
  • Computer Configuration:

Profiling Results

Pcap Name AnalysisOnly Execution Time (sec) Total Memory (MB) top-10 Class.Method (% time) top-10 Classes (% memory)
test1.pcap
test6.pcap
test8.pcap
test9.pcap

The information about the pcap files is available in the following table.

Pcap Name Pcap File Size (MB) No. of Packets Execution Time Peak Memory Consumption
Test1
Test2

We also need a flame graph to know the contribution of the individual classes to the overall execution time.

BITS Darshini in Tomcat

We need to perform live profiling of BITS Darshini when run inside Tomcat 8.5. Initially we shall collect all the parameters and then narrow down to the parameters of interest.

We shall use the information provided by JProfiler to fill the following table.

Class / Method Time Complexity Pcap Name Execution Time Memory Consumption
Class1
Class1.method1()

The information about the pcap files is available in the following table.

Pcap Name Pcap File Size (MB) No. of Packets Execution Time Peak Memory Consumption
Test1
Test2

We also need a flame graph to know the contribution of the individual classes to the overall execution time.

References

  1. Notes on Profilers
Clone this wiki locally