devicemap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reza Naghibi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DMAP-106) Add JMH-based benchmark module for the Java client
Date Wed, 10 Dec 2014 16:46:13 GMT

     [ https://issues.apache.org/jira/browse/DMAP-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Reza Naghibi updated DMAP-106:
------------------------------
    Fix Version/s: 1.1.1 Java

> Add JMH-based benchmark module for the Java client
> --------------------------------------------------
>
>                 Key: DMAP-106
>                 URL: https://issues.apache.org/jira/browse/DMAP-106
>             Project: DeviceMap
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: 1.1.0 Java
>            Reporter: Volkan Yazıcı
>            Assignee: Reza Naghibi
>             Fix For: 1.1.1 Java
>
>         Attachments: benchmark.diff
>
>
> 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:
> {code}
> $ 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.*"
> {code}
> Note that this is the first public release, hence no documentations yet.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message