Uploaded image for project: 'DeviceMap'
  1. DeviceMap
  2. DMAP-106

Add JMH-based benchmark module for the Java client

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.1.0 Java
    • 1.2.0 Java
    • Java Client
    • None

    Description

      The patch in the attachment, creates a benchmark for the DeviceMapClient.classify() method using JMH toolkit. After applying the patch, you can use it as follows:

      $ mvn clean install
      $ export userAgentFile=/path/to/user-agents.txt
      $ java \
          -jar devicemap/java/classifier-benchmark/target/devicemap-client-benchmark.jar \
          -jvmArgsAppend "-server -XX:+TieredCompilation -XX:+AggressiveOpts -Xms1024m -Xmx4096m -DuserAgentFile=$userAgentFile" \
          -wi 5 -i 5 -bm avgt -tu ms -f 3 \
          ".*DeviceMapClientBenchmark.*"
      

      Note that this is the first public release, hence no documentations yet.

      Attachments

        1. benchmark.diff
          8 kB
          Volkan Yazici

        Activity

          People

            wkeil Werner Keil
            vy Volkan Yazici
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: