{"id":16389748,"url":"https://github.com/yuce/cloudevents-java-benchmarks","last_synced_at":"2026-06-12T20:31:49.203Z","repository":{"id":146806196,"uuid":"300907942","full_name":"yuce/cloudevents-java-benchmarks","owner":"yuce","description":"Benchmarks of CloudEvents implementations for Java.","archived":false,"fork":false,"pushed_at":"2020-10-03T16:04:09.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-12T20:13:21.355Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yuce.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-03T15:07:12.000Z","updated_at":"2020-10-03T16:04:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"87605a2a-0071-4e92-9c04-55fcd00819ed","html_url":"https://github.com/yuce/cloudevents-java-benchmarks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yuce/cloudevents-java-benchmarks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuce%2Fcloudevents-java-benchmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuce%2Fcloudevents-java-benchmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuce%2Fcloudevents-java-benchmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuce%2Fcloudevents-java-benchmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuce","download_url":"https://codeload.github.com/yuce/cloudevents-java-benchmarks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuce%2Fcloudevents-java-benchmarks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34262155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T04:34:12.928Z","updated_at":"2026-06-12T20:31:49.180Z","avatar_url":"https://github.com/yuce.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CloudEvents Java Benchmarks\n\nBenchmarks of CloudEvents implementations for Java.\n\n## Usage\n\nRequirements:\n\n* JDK 8\n\nRun `make benchmark` on Linux, MacOS, etc. On Windows `gradlew --no-daemon jmh` should work.\n\n## Benchmarks\n\n### CloudEvents SDK for Java\n\nOfficial CloudEvents SDK for Java: https://github.com/cloudevents/sdk-java\n\n## JSON\n\nCloudEvents 1.0 JSON spec.\n\n* `benchmarkSdkJsonDecodeEvent`: Decode a single event\n* `benchmarkSdkJsonEncodeEvent`: Encode a single event\n\n## ScalePlan CloudEvents for Java\n\nSPCE CloudEvents for Java: https://github.com/scaleplandev/spce-java\n\n### JSON\n\nCloudEvents 1.0 JSON spec.\n\n* `benchmarkSpceJsonDecodeEvent`: Decode a single event\n* `benchmarkSpceJsonEncodeEvent`: Encode a single event\n* `benchmarkSpceJsonDecodeEventBundle10`: Decode a bundle of 10 events\n* `benchmarkSpceJsonEncodeEventBundle10`: Encode a bundle of 10 events\n\n### Avro\n\nUsing CloudEvents 1.0 Avro schema at https://github.com/cloudevents/spec/blob/v1.0/spec.avsc\n\n* `benchmarkAvroDecodeEvent`: Decode a single event\n* `benchmarkAvroEncodeEvent`: Encode a single event\n\n### Avro SPCE\n\nUsing SPCE 1.0 Avro schema at: https://github.com/scaleplandev/spce-java/blob/master/etc/cloudevents_spce_spec.avsc\n\n* `benchmarkAvroSpceDecodeEvent`: Decode a single event\n* `benchmarkAvroSpceEncodeEvent`: Encode a single event\n* `benchmarkAvroSpceDecodeEventBundle10`: Decode a bundle of 10 events\n* `benchmarkAvroSpceEncodeEventBundle10`: Encode a bundle of 10 events\n\n## Sample Result\n\nBelow is a result from a typical run on my system. The exact numbers may be different on your system, but the overall picture should be the same.\n\n    Benchmark                                                  Mode  Cnt    Score    Error   Units\n    EventCodecBenchmark.benchmarkAvroDecodeEvent              thrpt   10  253.527 ±  8.203  ops/ms\n    EventCodecBenchmark.benchmarkAvroEncodeEvent              thrpt   10  269.207 ±  9.189  ops/ms\n    EventCodecBenchmark.benchmarkAvroSpceDecodeEvent          thrpt   10  461.694 ± 16.964  ops/ms\n    EventCodecBenchmark.benchmarkAvroSpceDecodeEventBundle10  thrpt   10   39.816 ±  7.879  ops/ms\n    EventCodecBenchmark.benchmarkAvroSpceEncodeEvent          thrpt   10  408.037 ± 17.207  ops/ms\n    EventCodecBenchmark.benchmarkAvroSpceEncodeEventBundle10  thrpt   10   40.102 ±  3.235  ops/ms\n    EventCodecBenchmark.benchmarkSdkJsonDecodeEvent           thrpt   10  268.276 ± 16.190  ops/ms\n    EventCodecBenchmark.benchmarkSdkJsonEncodeEvent           thrpt   10  319.856 ± 12.765  ops/ms\n    EventCodecBenchmark.benchmarkSpceJsonDecodeEvent          thrpt   10  519.292 ± 19.978  ops/ms\n    EventCodecBenchmark.benchmarkSpceJsonDecodeEventBundle10  thrpt   10   50.152 ± 10.112  ops/ms\n    EventCodecBenchmark.benchmarkSpceJsonEncodeEvent          thrpt   10  942.562 ± 16.331  ops/ms\n    EventCodecBenchmark.benchmarkSpceJsonEncodeEventBundle10  thrpt   10   98.450 ±  5.817  ops/ms\n\n## License\n\n(c) 2020 Scale Plan Yazılım A.Ş. https://scaleplan.io\n\nLicensed under [Apache 2.0](LICENSE). See the [LICENSE](LICENSE).\n\n    Copyright 2020 Scale Plan Yazılım A.Ş.\n    \n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n    \n        http://www.apache.org/licenses/LICENSE-2.0\n    \n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuce%2Fcloudevents-java-benchmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuce%2Fcloudevents-java-benchmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuce%2Fcloudevents-java-benchmarks/lists"}