Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jdk 11 and some more improvements #55

Closed
wants to merge 55 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
8bf7c62
Create gradle.yml
ozkanpakdil Oct 21, 2022
66d219e
#53 testing with java 17
ozkanpakdil Oct 21, 2022
8ed8ba7
#53 testing with java 17
ozkanpakdil Oct 21, 2022
304053c
#53 lowering the iteration and warm up
ozkanpakdil Oct 21, 2022
a56db5e
#53 commiting back results
ozkanpakdil Oct 22, 2022
ab6878c
#53 commiting back results
ozkanpakdil Oct 22, 2022
5f4aa47
#53 commiting back results
ozkanpakdil Oct 22, 2022
2f95bf8
#53 commiting back results
ozkanpakdil Oct 22, 2022
08d104a
#53 commiting back results
ozkanpakdil Oct 22, 2022
913e0dc
#53 commiting back results
ozkanpakdil Oct 22, 2022
e3ddcf5
#53 commiting back results
ozkanpakdil Oct 22, 2022
624a92c
#53 commiting back results
ozkanpakdil Oct 23, 2022
899e5f7
result adding back to repo
ozkanpakdil Oct 23, 2022
635901a
result adding back to repo
ozkanpakdil Oct 23, 2022
ad178ef
#53 commiting back results
ozkanpakdil Oct 23, 2022
cd4cd6b
Merge remote-tracking branch 'origin/master'
ozkanpakdil Oct 23, 2022
3aa8216
#53 commiting back results
ozkanpakdil Oct 23, 2022
d199431
result adding back to repo [skip ci] another test
ozkanpakdil Oct 23, 2022
a913893
Update gradle.yml
ozkanpakdil Oct 27, 2022
2efa8e9
jdk8 test
ozkanpakdil Oct 27, 2022
6756438
result adding back to repo [skip ci] another test
ozkanpakdil Oct 27, 2022
d87aeb1
Update run-everything
ozkanpakdil Oct 28, 2022
fcc14ca
result adding back to repo [skip ci] another test
ozkanpakdil Oct 28, 2022
e9a9f58
Update gradle.yml
ozkanpakdil Oct 28, 2022
e1ff64b
result adding back to repo [skip ci] another test
ozkanpakdil Oct 28, 2022
a5843af
#53 java 11
ozkanpakdil Oct 28, 2022
b7deefe
result adding back to repo [skip ci] another test
ozkanpakdil Oct 28, 2022
3f827e8
Merge pull request #1 from fabienrenaud/master
ozkanpakdil Oct 28, 2022
a7b6d2c
result adding back to repo [skip ci] another test
ozkanpakdil Oct 28, 2022
f34b2a1
#53 adding gitignore and eleting txt results
ozkanpakdil Oct 30, 2022
8466ac8
#53 dependabot package ecosystem changed to gradle
ozkanpakdil Oct 30, 2022
e34b997
Bump com.github.ben-manes.versions from 0.28.0 to 0.43.0
dependabot[bot] Oct 30, 2022
1c08d62
Bump gson from 2.8.9 to 2.10
dependabot[bot] Oct 30, 2022
df3c7f8
Bump jacksonVersion from 2.13.0 to 2.13.4
dependabot[bot] Oct 30, 2022
dd48ee3
Bump json from 20210307 to 20220924
dependabot[bot] Oct 30, 2022
c5b157e
Merge pull request #3 from ozkanpakdil/dependabot/gradle/com.google.c…
ozkanpakdil Oct 30, 2022
e464aba
Merge pull request #5 from ozkanpakdil/dependabot/gradle/org.json-jso…
ozkanpakdil Oct 30, 2022
1a9df62
Merge pull request #4 from ozkanpakdil/dependabot/gradle/jacksonVersi…
ozkanpakdil Oct 30, 2022
d7a748b
Merge pull request #2 from ozkanpakdil/dependabot/gradle/com.github.b…
ozkanpakdil Oct 30, 2022
48a4dfc
Bump johnzonVersion from 1.2.15 to 1.2.19
dependabot[bot] Oct 30, 2022
3963711
Bump javassist from 3.26.0-GA to 3.29.2-GA
dependabot[bot] Oct 30, 2022
07062f8
Bump yasson from 1.0.9 to 3.0.2
dependabot[bot] Oct 30, 2022
bddd7fe
Bump commons-lang3 from 3.9 to 3.12.0
dependabot[bot] Oct 30, 2022
3f86f54
Bump fastjson from 1.2.78 to 2.0.17
dependabot[bot] Oct 30, 2022
9991eb3
Bump json-io from 4.13.0 to 4.14.0
dependabot[bot] Oct 30, 2022
ddc00a8
Merge pull request #11 from ozkanpakdil/dependabot/gradle/com.cedarso…
ozkanpakdil Oct 30, 2022
bdf708f
Merge pull request #9 from ozkanpakdil/dependabot/gradle/org.apache.c…
ozkanpakdil Oct 30, 2022
5657925
Merge pull request #6 from ozkanpakdil/dependabot/gradle/johnzonVersi…
ozkanpakdil Oct 30, 2022
c4eabe7
Merge pull request #7 from ozkanpakdil/dependabot/gradle/org.javassis…
ozkanpakdil Oct 30, 2022
979abca
Merge pull request #8 from ozkanpakdil/dependabot/gradle/org.eclipse-…
ozkanpakdil Oct 30, 2022
4f0511f
Merge pull request #10 from ozkanpakdil/dependabot/gradle/com.alibaba…
ozkanpakdil Oct 30, 2022
7e553b0
testing new dependencies
ozkanpakdil Oct 30, 2022
7fb925d
Merge remote-tracking branch 'real/master'
ozkanpakdil Oct 30, 2022
f21e45b
rebase with master
ozkanpakdil Oct 30, 2022
82c3c05
dependabot test added.
ozkanpakdil Oct 30, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: gradle
directory: "/"
schedule:
interval: daily
time: "04:00"
open-pull-requests-limit: 10
25 changes: 25 additions & 0 deletions .github/workflows/dependabot-gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Dependabot Java CI with Gradle

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- uses: actions/checkout
with:
ref: ${{ github.event.pull_request.head.sha }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with:
arguments: build
- name: Run everything
ozkanpakdil marked this conversation as resolved.
Show resolved Hide resolved
run: |
./gradlew test
39 changes: 39 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle

name: Java CI with Gradle

on: [push, pull_request]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.TOKEN_GIT }}
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with:
arguments: build
- name: Run everything
run: |
sh run-everything
ozkanpakdil marked this conversation as resolved.
Show resolved Hide resolved
ozkanpakdil marked this conversation as resolved.
Show resolved Hide resolved
cd output
./toMd.sh ../index.md
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: result adding back to repo [skip ci] another test
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Build
target/
*.csv
*.txt
build/
.gradle/
*.gz
Expand All @@ -21,3 +20,5 @@ out/
*.json
!ami.json
*.log

output/*.txt
10 changes: 6 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@ plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '5.2.0'
id 'com.github.ben-manes.versions' version '0.28.0'
id 'com.github.ben-manes.versions' version '0.43.0'
}

group = 'com.github.fabienrenaud'
version = '7'
mainClassName = 'com.github.fabienrenaud.jjb.Cli'

sourceCompatibility = 1.8
targetCompatibility = 1.8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11

applicationDefaultJvmArgs = ["--add-opens", "java.base/jdk.internal.loader=ALL-UNNAMED"]

repositories {
mavenCentral()
Expand Down Expand Up @@ -43,7 +45,7 @@ dependencies {
implementation group: 'org.glassfish', name: 'javax.json', version: '1.1.4'
// JSONB
implementation group: 'javax.json.bind', name: 'javax.json.bind-api', version: '1.0'
implementation group: 'org.eclipse', name: 'yasson', version: '1.0.11'
implementation group: 'org.eclipse', name: 'yasson', version: '3.0.2'
// GENSON
implementation group: 'com.owlike', name: 'genson', version: '1.6'
// FlexJson
Expand Down
261 changes: 261 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,261 @@
2022-10-22

# *users* data type

## JMH: Deserialization - 1000 KB

| # | Benchmark | mode: | Throughput, | ops/time | |
| javaxjson/stream | | | |
| | | | | | |
| # | Run | progress: | 66.67% | complete, | ETA |
| # | Fork: | 1 | of | 2 | |
| OpenJDK | 64-Bit | Server | VM | warning: | -XX:ThreadPriorityPolicy=1 |
| # | Warmup | Iteration | 1: | Using | SEED=302604088310502 |
| 97.561 | ops/s | | | | |
| Iteration | 1: | 236.208 | ops/s | | |
| | | | | | |
| # | Run | progress: | 68.18% | complete, | ETA |
| # | Fork: | 2 | of | 2 | |
| OpenJDK | 64-Bit | Server | VM | warning: | -XX:ThreadPriorityPolicy=1 |
| # | Warmup | Iteration | 1: | Using | SEED=302618047231209 |
| 152.718 | ops/s | | | | |
| Iteration | 1: | 241.265 | ops/s | | |
| | | | | | |
| | | | | | |
| javaxjson/stream": | | | | |
| 238.736 | ops/s | | | | |
| | | | | | |
| | | | | | |
| # | JMH | version: | 1.33 | | |
| # | VM | version: | JDK | 17.0.4, | OpenJDK |
| # | VM | invoker: | /home/mintozzy/.sdkman/candidates/java/22.2.r17-grl/bin/java | | |
| # | VM | options: | -XX:ThreadPriorityPolicy=1 | -XX:+UnlockExperimentalVMOptions | -XX:+EnableJVMCIProduct |
| # | Blackhole | mode: | full | + | dont-inline |
| # | Warmup: | 1 | iterations, | 10 | s |
| # | Measurement: | 1 | iterations, | 2 | s |
| # | Timeout: | 10 | min | per | iteration |
| # | Threads: | 16 | threads, | will | synchronize |
| # | Benchmark | mode: | Throughput, | ops/time | |
| jsonio/stream | | | |
| | | | | | |
| # | Run | progress: | 69.70% | complete, | ETA |
| # | Fork: | 1 | of | 2 | |
| OpenJDK | 64-Bit | Server | VM | warning: | -XX:ThreadPriorityPolicy=1 |
| # | Warmup | Iteration | 1: | Using | SEED=302631891832633 |

## JMH: Deserialization - 10 KB

| Benchmark | Mode | Cnt | Score | Error | Units |
|-----------|------|-----|-------|-------|-------|
| avajejsonb/databind | thrpt | 2 | 54005.389 | ops/s | |
| avajejsonb_jackson/databind | thrpt | 2 | 36925.350 | ops/s | |
| dsljson/databind | thrpt | 2 | 69102.664 | ops/s | |
| dsljson_reflection/databind | thrpt | 2 | 48574.896 | ops/s | |
| fastjson/databind | thrpt | 2 | 37747.513 | ops/s | |
| flexjson/databind | thrpt | 2 | 6884.114 | ops/s | |
| genson/databind | thrpt | 2 | 29363.905 | ops/s | |
| gson/databind | thrpt | 2 | 29921.616 | ops/s | |
| jackson/databind | thrpt | 2 | 37711.584 | ops/s | |
| jackson_afterburner/databind | thrpt | 2 | 43057.176 | ops/s | |
| jackson_blackbird/databind | thrpt | 2 | 40909.535 | ops/s | |
| jodd/databind | thrpt | 2 | 30561.517 | ops/s | |
| johnzon/databind | thrpt | 2 | 13691.347 | ops/s | |
| jsonsmart/databind | thrpt | 2 | 36760.182 | ops/s | |
| logansquare/databind | thrpt | 2 | 38064.617 | ops/s | |
| moshi/databind | thrpt | 2 | 26968.731 | ops/s | |
| yasson/databind | thrpt | 2 | 6910.953 | ops/s | |
| genson/stream | thrpt | 2 | 45845.491 | ops/s | |
| gson/stream | thrpt | 2 | 40362.608 | ops/s | |
| jackson/stream | thrpt | 2 | 40131.419 | ops/s | |
| javaxjson/stream | thrpt | 2 | 14664.587 | ops/s | |
| jsonio/stream | thrpt | 2 | 8390.436 | ops/s | |
| jsonsimple/stream | thrpt | 2 | 10104.037 | ops/s | |
| minimaljson/stream | thrpt | 2 | 28654.995 | ops/s | |
| mjson/stream | thrpt | 2 | 10137.066 | ops/s | |
| moshi/stream | thrpt | 2 | 29554.606 | ops/s | |
| nanojson/stream | thrpt | 2 | 25102.768 | ops/s | |
| orgjson/stream | thrpt | 2 | 11259.996 | ops/s | |
| purejson/stream | thrpt | 2 | 6771.798 | ops/s | |
| tapestry/stream | thrpt | 2 | 36592.065 | ops/s | |

## JMH: Deserialization - 1 KB

| Benchmark | Mode | Cnt | Score | Error | Units |
|-----------|------|-----|-------|-------|-------|
| avajejsonb/databind | thrpt | 2 | 624962.583 | ops/s | |
| avajejsonb_jackson/databind | thrpt | 2 | 466918.677 | ops/s | |
| dsljson/databind | thrpt | 2 | 820010.890 | ops/s | |
| dsljson_reflection/databind | thrpt | 2 | 583335.098 | ops/s | |
| fastjson/databind | thrpt | 2 | 297191.131 | ops/s | |
| flexjson/databind | thrpt | 2 | 80740.006 | ops/s | |
| genson/databind | thrpt | 2 | 353564.220 | ops/s | |
| gson/databind | thrpt | 2 | 343625.586 | ops/s | |
| jackson/databind | thrpt | 2 | 455998.590 | ops/s | |
| jackson_afterburner/databind | thrpt | 2 | 493959.078 | ops/s | |
| jackson_blackbird/databind | thrpt | 2 | 468453.693 | ops/s | |
| jodd/databind | thrpt | 2 | 309085.725 | ops/s | |
| johnzon/databind | thrpt | 2 | 171410.990 | ops/s | |
| jsonsmart/databind | thrpt | 2 | 399677.771 | ops/s | |
| logansquare/databind | thrpt | 2 | 230431.332 | ops/s | |
| moshi/databind | thrpt | 2 | 368204.261 | ops/s | |
| yasson/databind | thrpt | 2 | 85356.962 | ops/s | |
| genson/stream | thrpt | 2 | 422320.899 | ops/s | |
| gson/stream | thrpt | 2 | 413403.114 | ops/s | |
| jackson/stream | thrpt | 2 | 466533.498 | ops/s | |
| javaxjson/stream | thrpt | 2 | 40338.546 | ops/s | |
| jsonio/stream | thrpt | 2 | 99302.659 | ops/s | |
| jsonsimple/stream | thrpt | 2 | 135489.105 | ops/s | |
| minimaljson/stream | thrpt | 2 | 309484.974 | ops/s | |
| mjson/stream | thrpt | 2 | 111380.614 | ops/s | |
| moshi/stream | thrpt | 2 | 340699.598 | ops/s | |
| nanojson/stream | thrpt | 2 | 139411.537 | ops/s | |
| orgjson/stream | thrpt | 2 | 110455.834 | ops/s | |
| purejson/stream | thrpt | 2 | 79386.207 | ops/s | |
| tapestry/stream | thrpt | 2 | 381093.265 | ops/s | |

## JMH: Serialization - 1000 KB

| Benchmark | Mode | Cnt | Score | Error | Units |
|-----------|------|-----|-------|-------|-------|
| avajejsonb/databind | thrpt | 2 | 909.796 | ops/s | |
| avajejsonb_jackson/databind | thrpt | 2 | 725.338 | ops/s | |
| dsljson/databind | thrpt | 2 | 1211.758 | ops/s | |
| dsljson_reflection/databind | thrpt | 2 | 879.461 | ops/s | |
| fastjson/databind | thrpt | 2 | 286.244 | ops/s | |
| flexjson/databind | thrpt | 2 | 34.818 | ops/s | |
| genson/databind | thrpt | 2 | 465.310 | ops/s | |
| gson/databind | thrpt | 2 | 329.002 | ops/s | |
| jackson/databind | thrpt | 2 | 677.204 | ops/s | |
| jackson_afterburner/databind | thrpt | 2 | 748.052 | ops/s | |
| jackson_blackbird/databind | thrpt | 2 | 709.803 | ops/s | |
| jodd/databind | thrpt | 2 | 121.420 | ops/s | |
| johnzon/databind | thrpt | 2 | 276.222 | ops/s | |
| jsonsmart/databind | thrpt | 2 | 342.483 | ops/s | |
| logansquare/databind | thrpt | 2 | 930.066 | ops/s | |
| moshi/databind | thrpt | 2 | 354.500 | ops/s | |
| yasson/databind | thrpt | 2 | 272.193 | ops/s | |
| genson/stream | thrpt | 2 | 463.230 | ops/s | |
| gson/stream | thrpt | 2 | 162.848 | ops/s | |
| jackson/stream | thrpt | 2 | 872.831 | ops/s | |
| javaxjson/stream | thrpt | 2 | 797.142 | ops/s | |
| jsonio/stream | thrpt | 2 | 136.553 | ops/s | |
| jsonsimple/stream | thrpt | 2 | 94.080 | ops/s | |
| minimaljson/stream | thrpt | 2 | 431.163 | ops/s | |
| mjson/stream | thrpt | 2 | 120.385 | ops/s | |
| moshi/stream | thrpt | 2 | 493.473 | ops/s | |
| nanojson/stream | thrpt | 2 | 709.363 | ops/s | |
| orgjson/stream | thrpt | 2 | 170.667 | ops/s | |
| purejson/stream | thrpt | 2 | 6.409 | ops/s | |
| tapestry/stream | thrpt | 2 | 92.288 | ops/s | |

## JMH: Serialization - 100 KB

| # | Benchmark | mode: | Throughput, | ops/time | |
| avajejsonb/databind | | | |
| | | | | | |
| # | Run | progress: | 0.00% | complete, | ETA |
| # | Fork: | 1 | of | 2 | |
| OpenJDK | 64-Bit | Server | VM | warning: | -XX:ThreadPriorityPolicy=1 |
| # | Warmup | Iteration | 1: | Using | SEED=298585768449823 |
| 10320.877 | ops/s | | | | |
| Iteration | 1: | 10780.606 | ops/s | | |
| | | | | | |
| # | Run | progress: | 1.52% | complete, | ETA |
| # | Fork: | 2 | of | 2 | |
| OpenJDK | 64-Bit | Server | VM | warning: | -XX:ThreadPriorityPolicy=1 |
| # | Warmup | Iteration | 1: | Using | SEED=298599019564176 |
| 11059.269 | ops/s | | | | |
| Iteration | 1: | 10597.304 | ops/s | | |
| | | | | | |
| | | | | | |
| avajejsonb/databind": | | | | |
| 10688.955 | ops/s | | | | |
| | | | | | |
| | | | | | |
| # | JMH | version: | 1.33 | | |
| # | VM | version: | JDK | 17.0.4, | OpenJDK |
| # | VM | invoker: | /home/mintozzy/.sdkman/candidates/java/22.2.r17-grl/bin/java | | |
| # | VM | options: | -XX:ThreadPriorityPolicy=1 | -XX:+UnlockExperimentalVMOptions | -XX:+EnableJVMCIProduct |
| # | Blackhole | mode: | full | + | dont-inline |
| # | Warmup: | 1 | iterations, | 10 | s |
| # | Measurement: | 1 | iterations, | 2 | s |
| # | Timeout: | 10 | min | per | iteration |
| # | Threads: | 16 | threads, | will | synchronize |
| # | Benchmark | mode: | Throughput, | ops/time | |
| avajejsonb_jackson/databind | | | |
| | | | | | |
| # | Run | progress: | 3.03% | complete, | ETA |
| # | Fork: | 1 | of | 2 | |
| OpenJDK | 64-Bit | Server | VM | warning: | -XX:ThreadPriorityPolicy=1 |
| # | Warmup | Iteration | 1: | Using | SEED=298612265677184 |

## JMH: Serialization - 10 KB

| Benchmark | Mode | Cnt | Score | Error | Units |
|-----------|------|-----|-------|-------|-------|
| avajejsonb/databind | thrpt | 2 | 114531.353 | ops/s | |
| avajejsonb_jackson/databind | thrpt | 2 | 89917.118 | ops/s | |
| dsljson/databind | thrpt | 2 | 114508.712 | ops/s | |
| dsljson_reflection/databind | thrpt | 2 | 89277.436 | ops/s | |
| fastjson/databind | thrpt | 2 | 53726.393 | ops/s | |
| flexjson/databind | thrpt | 2 | 295.878 | ops/s | |
| genson/databind | thrpt | 2 | 44159.073 | ops/s | |
| gson/databind | thrpt | 2 | 33678.323 | ops/s | |
| jackson/databind | thrpt | 2 | 95337.370 | ops/s | |
| jackson_afterburner/databind | thrpt | 2 | 100637.060 | ops/s | |
| jackson_blackbird/databind | thrpt | 2 | 90378.728 | ops/s | |
| jodd/databind | thrpt | 2 | 14288.889 | ops/s | |
| johnzon/databind | thrpt | 2 | 32237.287 | ops/s | |
| jsonsmart/databind | thrpt | 2 | 30488.845 | ops/s | |
| logansquare/databind | thrpt | 2 | 87328.072 | ops/s | |
| moshi/databind | thrpt | 2 | 33484.818 | ops/s | |
| yasson/databind | thrpt | 2 | 28699.823 | ops/s | |
| genson/stream | thrpt | 2 | 40289.101 | ops/s | |
| gson/stream | thrpt | 2 | 14416.889 | ops/s | |
| jackson/stream | thrpt | 2 | 93692.784 | ops/s | |
| javaxjson/stream | thrpt | 2 | 64441.873 | ops/s | |
| jsonio/stream | thrpt | 2 | 10725.616 | ops/s | |
| jsonsimple/stream | thrpt | 2 | 7554.123 | ops/s | |
| minimaljson/stream | thrpt | 2 | 31133.600 | ops/s | |
| mjson/stream | thrpt | 2 | 12092.740 | ops/s | |
| moshi/stream | thrpt | 2 | 38112.080 | ops/s | |
| nanojson/stream | thrpt | 2 | 62321.300 | ops/s | |
| orgjson/stream | thrpt | 2 | 11842.706 | ops/s | |
| purejson/stream | thrpt | 2 | 5773.181 | ops/s | |
| tapestry/stream | thrpt | 2 | 6429.512 | ops/s | |

## JMH: Serialization - 1 KB

| Benchmark | Mode | Cnt | Score | Error | Units |
|-----------|------|-----|-------|-------|-------|
| avajejsonb/databind | thrpt | 2 | 894924.900 | ops/s | |
| avajejsonb_jackson/databind | thrpt | 2 | 773176.956 | ops/s | |
| dsljson/databind | thrpt | 2 | 1160153.247 | ops/s | |
| dsljson_reflection/databind | thrpt | 2 | 910009.496 | ops/s | |
| fastjson/databind | thrpt | 2 | 847854.362 | ops/s | |
| flexjson/databind | thrpt | 2 | 1442.951 | ops/s | |
| genson/databind | thrpt | 2 | 531644.539 | ops/s | |
| gson/databind | thrpt | 2 | 351756.931 | ops/s | |
| jackson/databind | thrpt | 2 | 819795.872 | ops/s | |
| jackson_afterburner/databind | thrpt | 2 | 817250.051 | ops/s | |
| jackson_blackbird/databind | thrpt | 2 | 787275.241 | ops/s | |
| jodd/databind | thrpt | 2 | 134957.460 | ops/s | |
| johnzon/databind | thrpt | 2 | 372523.854 | ops/s | |
| jsonsmart/databind | thrpt | 2 | 324399.536 | ops/s | |
| logansquare/databind | thrpt | 2 | 881008.053 | ops/s | |
| moshi/databind | thrpt | 2 | 321891.464 | ops/s | |
| yasson/databind | thrpt | 2 | 297482.821 | ops/s | |
| genson/stream | thrpt | 2 | 428789.230 | ops/s | |
| gson/stream | thrpt | 2 | 242049.815 | ops/s | |
| jackson/stream | thrpt | 2 | 904008.643 | ops/s | |
| javaxjson/stream | thrpt | 2 | 687635.775 | ops/s | |
| jsonio/stream | thrpt | 2 | 106270.217 | ops/s | |
| jsonsimple/stream | thrpt | 2 | 132087.245 | ops/s | |
| minimaljson/stream | thrpt | 2 | 450195.906 | ops/s | |
| mjson/stream | thrpt | 2 | 147958.702 | ops/s | |
| moshi/stream | thrpt | 2 | 390937.392 | ops/s | |
| nanojson/stream | thrpt | 2 | 661480.535 | ops/s | |
| orgjson/stream | thrpt | 2 | 143553.352 | ops/s | |
| purejson/stream | thrpt | 2 | 81867.154 | ops/s | |
| tapestry/stream | thrpt | 2 | 99915.994 | ops/s | |

2 changes: 1 addition & 1 deletion output/toMd.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh -e
#!/bin/bash

datatypes=$(ls *.txt | cut -d- -f1 | sort | uniq)

Expand Down
2 changes: 1 addition & 1 deletion run
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
JAR=build/libs/app.jar
HEAP_SIZE=2g

[ -z ${JVM_OPTIONS} ] && JVM_OPTIONS="-server -XX:+AggressiveOpts -Xms${HEAP_SIZE} -Xmx${HEAP_SIZE}"
[ -z ${JVM_OPTIONS} ] && JVM_OPTIONS="-server -Xms${HEAP_SIZE} -Xmx${HEAP_SIZE}"
[ -z ${SEED} ] && export SEED=${RANDOM}
[ -z ${SHADOW} ] && echo ./gradlew clean build shadowJar && ./gradlew clean build shadowJar

Expand Down
Loading