Skip to content

Commit 8969371

Browse files
committed
Update results
1 parent 426c8fd commit 8969371

20 files changed

+2091
-37
lines changed

README.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,24 @@ This observation is based on two simple 'baseline' RSA-based JWT verifiers inclu
4343
but then only does signature verification and no JSON parsing / field validation. So it seems likely this is the upper limit.
4444

4545
## Latest results
46-
Running for OpenJDK 11 build 11.0.18+10 and OpenJDK 17 build 17.0.6+10, on Fedora Linux 6.1.8-200, AMD Ryzen 5950.
46+
Running for OpenJDK 21 build 21.0.6+7 on Fedora Linux 6.12.9-200, AMD Ryzen 9950.
4747

4848
Result visualizations:
4949

50-
* [visualization_v1.5.0_jdk11]
51-
* [visualization_v1.5.0_jdk17]
50+
* [visualization_v1.6.0]
5251

5352
Summary: For JWT verification [fusionauth-jwt] and [java-jwt] are tied for first place. [fusionauth-jwt] can parse faster (without verification).
5453

5554
# Previous results
5655
Note that **the relative number matters**, benchmarks are not necessarily run on the same machine, operating system or Java version.
5756

57+
## Version 1.5.0:
58+
Running for OpenJDK 11 build 11.0.18+10 and OpenJDK 17 build 17.0.6+10, on Fedora Linux 6.1.8-200, AMD Ryzen 5950.
59+
60+
* [visualization_v1.5.0]
61+
62+
Summary: For JWT verification [fusionauth-jwt] and [java-jwt] are tied for first place. [fusionauth-jwt] can parse faster (without verification).
63+
5864
## Version 1.4.0:
5965
Running for OpenJDK 11 build 11.0.11.0.9, Fedora Linux 5.13.4-200, AMD Ryzen 7 PRO 3700U laptop.
6066

@@ -121,6 +127,7 @@ Only [java-jwt] seems to parse without validation, at about 65.2k operations per
121127

122128
# History
123129

130+
- 1.6.0: Updated dependencies
124131
- 1.x: Added baseline JWT verifiers
125132
- 1.5.0: Updated dependencies
126133
- 1.3.0: Updated dependencies, added Nimbus JOSE + JWT
@@ -143,6 +150,7 @@ Only [java-jwt] seems to parse without validation, at about 65.2k operations per
143150
[visualization_v1.4.0]: https://skjolber.github.io/java-jwt-benchmark/jmh_v1.4.0/index.html
144151
[visualization_v1.5.0_jdk11]: https://skjolber.github.io/java-jwt-benchmark/jmh_v1.5.0_jdk11/index.html
145152
[visualization_v1.5.0_jdk17]: https://skjolber.github.io/java-jwt-benchmark/jmh_v1.5.0_jdk17/index.html
153+
[visualization_v1.6.0]: https://skjolber.github.io/java-jwt-benchmark/jmh_v1.6.0/index.html
146154
[PR#255]: https://github.com/auth0/java-jwt/pull/255
147155
[fusionauth-jwt]: https://github.com/FusionAuth/fusionauth-jwt
148156
[FusionAuth]: https://fusionauth.io/

build.gradle

-13
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ plugins {
22
id 'me.champeau.jmh' version '0.7.3' apply false
33
id 'com.github.ben-manes.versions' version '0.52.0' apply false
44
id 'org.owasp.dependencycheck' version '12.0.2' apply false
5-
id "com.github.spotbugs" version "6.1.3" apply false
65
id 'io.morethan.jmhreport' version '0.9.6' apply false
76
}
87

@@ -48,21 +47,12 @@ configure(libraryProjects()) {
4847
configure(buildProjects()) {
4948
apply plugin: 'com.github.ben-manes.versions'
5049
apply plugin: 'org.owasp.dependencycheck'
51-
apply plugin: 'com.github.spotbugs'
5250

5351
repositories {
5452
mavenLocal()
5553
mavenCentral()
5654
}
5755

58-
tasks.matching { task -> task.name.startsWith('spotbugs') }.forEach {
59-
it.reports {
60-
html.enabled = true
61-
xml.enabled = false
62-
// spotbugs does not allow to generate a xml and html report at once https://github.com/spotbugs/spotbugs/issues/857
63-
}
64-
it.excludeFilter = file("$rootDir/spotbugs-exclude.xml")
65-
}
6656
}
6757

6858
configure(project(':jmh-benchmark')) {
@@ -102,7 +92,6 @@ configure(project(':jmh-benchmark')) {
10292
tasks.jmh.finalizedBy tasks.jmhReport
10393
}
10494

105-
10695
configure(buildProjects()) {
10796
apply plugin: 'eclipse'
10897
apply plugin: 'idea'
@@ -113,6 +102,4 @@ configure(buildProjects()) {
113102
downloadJavadoc = true
114103
}
115104
}
116-
117-
118105
}
Binary file not shown.

docs/jmh_v1.6.0/89889688147bd7575d6327160d64e760.svg

+288
Loading

docs/jmh_v1.6.0/bundle.js

+47
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Binary file not shown.
Binary file not shown.

docs/jmh_v1.6.0/favicons/favicon.ico

318 Bytes
Binary file not shown.

docs/jmh_v1.6.0/index.html

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>JMH Visualizer</title>
6+
<meta name="description" content="JMH Visualizer helps you to visualize your JMH benchmark results. Just upload your JSON report and you will get it visualized as charts." />
7+
<meta name="keywords" content="JMH, Java, benchmark, visualization, visualize, viz, visual, report, chart, plot, graph, result, online, explore">
8+
<link rel="shortcut icon" href="favicons/favicon.ico" />
9+
<link rel="icon" href="favicons/favicon.ico" />
10+
<script src="provided.js"></script>
11+
<script src="settings.js"></script>
12+
<style type="text/css">
13+
body {
14+
color: #212121;
15+
font-family: "Helvetica Neue", "Calibri Light", Roboto, sans-serif;
16+
-webkit-font-smoothing: antialiased;
17+
-moz-osx-font-smoothing: grayscale;
18+
letter-spacing: 0.02em;
19+
}
20+
</style>
21+
</head>
22+
<body>
23+
<div id="main"></div>
24+
<script type="text/javascript" src="bundle.js"></script></body>
25+
</html>

0 commit comments

Comments
 (0)