forked from valkey-io/valkey-glide
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
131efa4
commit 06574ea
Showing
73 changed files
with
2,867 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#Wed Sep 06 20:33:36 PDT 2023 | ||
gradle.version=8.3 |
Binary file not shown.
Binary file not shown.
Empty file.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
TODO: | ||
-[] create benchmarks folder | ||
-[] add code for jedis test | ||
-[] add gradle task to run jedis tests | ||
-[] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
plugins { | ||
// Apply the java-library plugin for API and implementation separation. | ||
id 'java-library' | ||
} | ||
|
||
repositories { | ||
// Use Maven Central for resolving dependencies. | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
// Use JUnit test framework. | ||
testImplementation 'junit:junit:4.13.2' | ||
|
||
// This dependency is exported to consumers, that is to say found on their compile classpath. | ||
api 'org.apache.commons:commons-math3:3.6.1' | ||
|
||
// This dependency is used internally, and not exposed to consumers on their own compile classpath. | ||
implementation 'com.google.guava:guava:32.1.1-jre' | ||
implementation 'redis.clients:jedis:4.4.3' | ||
implementation 'io.lettuce:lettuce-core:6.2.6.RELEASE' | ||
} | ||
|
||
// Apply a specific Java toolchain to ease working on different environments. | ||
java { | ||
toolchain { | ||
languageVersion = JavaLanguageVersion.of(17) | ||
} | ||
} | ||
|
||
tasks.withType(Test) { | ||
testLogging { | ||
exceptionFormat "full" | ||
events "started", "skipped", "passed", "failed" | ||
showStandardStreams true | ||
} | ||
} |
Binary file added
BIN
+1.32 KB
java/benchmarks/build/classes/java/main/javabushka/client/jedis/JedisClient.class
Binary file not shown.
Binary file added
BIN
+1.67 KB
java/benchmarks/build/classes/java/main/javabushka/client/lettuce/LettuceClient.class
Binary file not shown.
Binary file added
BIN
+250 Bytes
java/benchmarks/build/classes/java/test/javabushka/client/Benchmarking$Operation.class
Binary file not shown.
Binary file added
BIN
+5.12 KB
java/benchmarks/build/classes/java/test/javabushka/client/Benchmarking.class
Binary file not shown.
Binary file added
BIN
+581 Bytes
java/benchmarks/build/classes/java/test/javabushka/client/LatencyResults.class
Binary file not shown.
Binary file added
BIN
+3.38 KB
java/benchmarks/build/classes/java/test/javabushka/client/jedis/JedisClientIT.class
Binary file not shown.
Binary file added
BIN
+2.47 KB
java/benchmarks/build/classes/java/test/javabushka/client/lettuce/LettuceClientIT.class
Binary file not shown.
Binary file not shown.
142 changes: 142 additions & 0 deletions
142
java/benchmarks/build/reports/tests/test/classes/javabushka.client.jedis.JedisClientIT.html
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | ||
<meta http-equiv="x-ua-compatible" content="IE=edge"/> | ||
<title>Test results - Class javabushka.client.jedis.JedisClientIT</title> | ||
<link href="../css/base-style.css" rel="stylesheet" type="text/css"/> | ||
<link href="../css/style.css" rel="stylesheet" type="text/css"/> | ||
<script src="../js/report.js" type="text/javascript"></script> | ||
</head> | ||
<body> | ||
<div id="content"> | ||
<h1>Class javabushka.client.jedis.JedisClientIT</h1> | ||
<div class="breadcrumbs"> | ||
<a href="../index.html">all</a> > | ||
<a href="../packages/javabushka.client.jedis.html">javabushka.client.jedis</a> > JedisClientIT</div> | ||
<div id="summary"> | ||
<table> | ||
<tr> | ||
<td> | ||
<div class="summaryGroup"> | ||
<table> | ||
<tr> | ||
<td> | ||
<div class="infoBox" id="tests"> | ||
<div class="counter">4</div> | ||
<p>tests</p> | ||
</div> | ||
</td> | ||
<td> | ||
<div class="infoBox" id="failures"> | ||
<div class="counter">0</div> | ||
<p>failures</p> | ||
</div> | ||
</td> | ||
<td> | ||
<div class="infoBox" id="ignored"> | ||
<div class="counter">0</div> | ||
<p>ignored</p> | ||
</div> | ||
</td> | ||
<td> | ||
<div class="infoBox" id="duration"> | ||
<div class="counter">14.703s</div> | ||
<p>duration</p> | ||
</div> | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
</td> | ||
<td> | ||
<div class="infoBox success" id="successRate"> | ||
<div class="percent">100%</div> | ||
<p>successful</p> | ||
</div> | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
<div id="tabs"> | ||
<ul class="tabLinks"> | ||
<li> | ||
<a href="#tab0">Tests</a> | ||
</li> | ||
<li> | ||
<a href="#tab1">Standard output</a> | ||
</li> | ||
<li> | ||
<a href="#tab2">Standard error</a> | ||
</li> | ||
</ul> | ||
<div id="tab0" class="tab"> | ||
<h2>Tests</h2> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>Test</th> | ||
<th>Duration</th> | ||
<th>Result</th> | ||
</tr> | ||
</thead> | ||
<tr> | ||
<td class="success">someLibraryMethodReturnsTrue</td> | ||
<td class="success">0.002s</td> | ||
<td class="success">passed</td> | ||
</tr> | ||
<tr> | ||
<td class="success">testResourceInfo</td> | ||
<td class="success">0.001s</td> | ||
<td class="success">passed</td> | ||
</tr> | ||
<tr> | ||
<td class="success">testResourceInfoBySection</td> | ||
<td class="success">0.142s</td> | ||
<td class="success">passed</td> | ||
</tr> | ||
<tr> | ||
<td class="success">testResourceSetGet</td> | ||
<td class="success">14.558s</td> | ||
<td class="success">passed</td> | ||
</tr> | ||
</table> | ||
</div> | ||
<div id="tab1" class="tab"> | ||
<h2>Standard output</h2> | ||
<span class="code"> | ||
<pre>Avg. time in ms per SET: 0.07751362659 | ||
SET p50 latency in ms: 0.0456 | ||
SET p90 latency in ms: 0.070699 | ||
SET p99 latency in ms: 0.127282 | ||
SET std dev in ms: 0.665195671610232 | ||
Avg. time in ms per GET: 0.06613250047 | ||
GET p50 latency in ms: 0.040224 | ||
GET p90 latency in ms: 0.058583 | ||
GET p99 latency in ms: 0.10689 | ||
GET std dev in ms: 0.6044885619384261 | ||
</pre> | ||
</span> | ||
</div> | ||
<div id="tab2" class="tab"> | ||
<h2>Standard error</h2> | ||
<span class="code"> | ||
<pre>SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". | ||
SLF4J: Defaulting to no-operation (NOP) logger implementation | ||
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. | ||
</pre> | ||
</span> | ||
</div> | ||
</div> | ||
<div id="footer"> | ||
<p> | ||
<div> | ||
<label class="hidden" id="label-for-line-wrapping-toggle" for="line-wrapping-toggle">Wrap lines | ||
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/> | ||
</label> | ||
</div>Generated by | ||
<a href="http://www.gradle.org">Gradle 8.3</a> at 6-Sep-2023 8:34:12 PM</p> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
115 changes: 115 additions & 0 deletions
115
...enchmarks/build/reports/tests/test/classes/javabushka.client.lettuce.LettuceClientIT.html
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | ||
<meta http-equiv="x-ua-compatible" content="IE=edge"/> | ||
<title>Test results - Class javabushka.client.lettuce.LettuceClientIT</title> | ||
<link href="../css/base-style.css" rel="stylesheet" type="text/css"/> | ||
<link href="../css/style.css" rel="stylesheet" type="text/css"/> | ||
<script src="../js/report.js" type="text/javascript"></script> | ||
</head> | ||
<body> | ||
<div id="content"> | ||
<h1>Class javabushka.client.lettuce.LettuceClientIT</h1> | ||
<div class="breadcrumbs"> | ||
<a href="../index.html">all</a> > | ||
<a href="../packages/javabushka.client.lettuce.html">javabushka.client.lettuce</a> > LettuceClientIT</div> | ||
<div id="summary"> | ||
<table> | ||
<tr> | ||
<td> | ||
<div class="summaryGroup"> | ||
<table> | ||
<tr> | ||
<td> | ||
<div class="infoBox" id="tests"> | ||
<div class="counter">1</div> | ||
<p>tests</p> | ||
</div> | ||
</td> | ||
<td> | ||
<div class="infoBox" id="failures"> | ||
<div class="counter">0</div> | ||
<p>failures</p> | ||
</div> | ||
</td> | ||
<td> | ||
<div class="infoBox" id="ignored"> | ||
<div class="counter">0</div> | ||
<p>ignored</p> | ||
</div> | ||
</td> | ||
<td> | ||
<div class="infoBox" id="duration"> | ||
<div class="counter">19.114s</div> | ||
<p>duration</p> | ||
</div> | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
</td> | ||
<td> | ||
<div class="infoBox success" id="successRate"> | ||
<div class="percent">100%</div> | ||
<p>successful</p> | ||
</div> | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
<div id="tabs"> | ||
<ul class="tabLinks"> | ||
<li> | ||
<a href="#tab0">Tests</a> | ||
</li> | ||
<li> | ||
<a href="#tab1">Standard output</a> | ||
</li> | ||
</ul> | ||
<div id="tab0" class="tab"> | ||
<h2>Tests</h2> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>Test</th> | ||
<th>Duration</th> | ||
<th>Result</th> | ||
</tr> | ||
</thead> | ||
<tr> | ||
<td class="success">testResourceSetGet</td> | ||
<td class="success">19.114s</td> | ||
<td class="success">passed</td> | ||
</tr> | ||
</table> | ||
</div> | ||
<div id="tab1" class="tab"> | ||
<h2>Standard output</h2> | ||
<span class="code"> | ||
<pre>Avg. time in ms per SET: 0.09530544199 | ||
SET p50 latency in ms: 0.055105 | ||
SET p90 latency in ms: 0.089829 | ||
SET p99 latency in ms: 0.184804 | ||
SET std dev in ms: 0.7259927555734456 | ||
Avg. time in ms per GET: 0.08870054313 | ||
GET p50 latency in ms: 0.052371 | ||
GET p90 latency in ms: 0.081338 | ||
GET p99 latency in ms: 0.145727 | ||
GET std dev in ms: 0.6983375291436595 | ||
</pre> | ||
</span> | ||
</div> | ||
</div> | ||
<div id="footer"> | ||
<p> | ||
<div> | ||
<label class="hidden" id="label-for-line-wrapping-toggle" for="line-wrapping-toggle">Wrap lines | ||
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/> | ||
</label> | ||
</div>Generated by | ||
<a href="http://www.gradle.org">Gradle 8.3</a> at 6-Sep-2023 8:34:12 PM</p> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.