Created
June 24, 2022 16:51
-
-
Save diegolovison/889e78c22f3a838f06b0c69d8416cdbb to your computer and use it in GitHub Desktop.
RadarGun different attribute value for basic-operations-test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<benchmark xmlns="urn:radargun:benchmark:3.0"> | |
<main bindAddress="${main.address:127.0.0.1}" port="${main.port:2103}"/> | |
<clusters> | |
<scale from="1" to="1"> | |
<cluster /> | |
</scale> | |
</clusters> | |
<configurations> | |
<config name="dist-1"> | |
<setup plugin="${env.PLUGINNAME}"> | |
<vm-args> | |
<properties> | |
<property name="custom-cycle-time" value="1s" /> | |
</properties> | |
</vm-args> | |
<embedded xmlns="urn:radargun:plugins:${env.PLUGINNAME}:3.0" file="library.xml" cache="distCache"/> | |
</setup> | |
</config> | |
<config name="dist-2"> | |
<setup plugin="${env.PLUGINNAME}"> | |
<vm-args> | |
<properties> | |
<property name="custom-cycle-time" value="100L" /> | |
</properties> | |
</vm-args> | |
<embedded xmlns="urn:radargun:plugins:${env.PLUGINNAME}:3.0" file="library.xml" cache="distCache"/> | |
</setup> | |
</config> | |
</configurations> | |
<init/> | |
<rg:scenario xmlns:rg="urn:radargun:benchmark:3.0" | |
xmlns="urn:radargun:stages:core:3.0" | |
xmlns:cache="urn:radargun:stages:cache:3.0" | |
xmlns:l="urn:radargun:stages:legacy:3.0"> | |
<define var="num.entries" value="100" /> | |
<define var="entry.size" value="2" /> | |
<service-start /> | |
<jvm-monitor-start /> | |
<cluster-split-verify /> | |
<cache:load num-entries="${num.entries}" entry-size="${entry.size}" num-threads="10"/> | |
<l:basic-operations-test cycle-time="${custom-cycle-time:1l}" exit-on-failure="true" test-name="writes100" duration="10s" num-threads-per-node="1" entry-size="${entry.size}" get-ratio="0" put-ratio="1"> | |
<l:key-selector> | |
<l:concurrent-keys total-entries="${num.entries}" /> | |
</l:key-selector> | |
<statistics> | |
<common/> | |
</statistics> | |
</l:basic-operations-test> | |
<cluster-split-verify verify="true" /> | |
<jvm-monitor-stop /> | |
<service-stop /> | |
</rg:scenario> | |
<cleanup check-memory="false" check-memory-released="false" check-threads="false"/> | |
<reports> | |
<reporter type="html" /> | |
</reports> | |
</benchmark> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment