/p6spy-perf

performance tests for p6spy

p6spy-perf

performance tests for p6spy project

Running the tests:

  1. run:

     mvn clean verify
    
  2. check the results in:

     target/results/*-p6spy-perf.html
    

    the most valuable part seems to be present in the:

     target/results/*-durations-*-p6spy-perf.html
    

    in the "average" column (values are in miliseconds).

Profiling the tests with Yourkit:

  1. (optional step) don't need to run non-p6spy JMeter tests => disable it in:

      src/test/jmeter/p6spy-perf.jmx
    

    in JMeter UI or via modifying:

      - <JDBCSampler guiclass="TestBeanGUI" testclass="JDBCSampler" testname="no-p6spy select" enabled="true">
      + <JDBCSampler guiclass="TestBeanGUI" testclass="JDBCSampler" testname="no-p6spy select" enabled="false">
    
  2. install Yourkit + start it

  3. run:

     mvn clean verify -P yourkit -Dyourkit.agent.path=<path to yourkit agent representing "-agentpath">
    
  4. cpu tracing starts automatically => open the "ApacheJMeter" VM in the Yourkit UI (section "Monitor Local Applications") and

  5. once test finish, feel free to analyze the results in Yourkit