Giter Club home page Giter Club logo

kotlin-avro-benchmark's Introduction

Kotlin Avro Benchmark

This project contains a benchmark that compares the serialization / deserialization performance of the following kotlin libraries:

Results

The following table contains the benchmarks result:

Benchmark                             Mode  Cnt       Score       Error  Units
DeserializationAvro4k.clients        thrpt    5   69112,726 ±  1142,820  ops/s
DeserializationAvro4k.users          thrpt    5  198955,534 ±  3460,397  ops/s
DeserializationAvro4kDirect.clients  thrpt    5  467419,904 ±  5076,498  ops/s
DeserializationAvro4kDirect.users    thrpt    5  362091,092 ±  4585,828  ops/s
DeserializationJackson.clients       thrpt    5  187465,951 ±  2305,600  ops/s
DeserializationJackson.users         thrpt    5  127586,528 ±  1245,258  ops/s
SerializationAvro4k.clients          thrpt    5   28469,775 ±   411,850  ops/s
SerializationAvro4k.users            thrpt    5  390932,344 ± 41827,719  ops/s
SerializationAvro4kDirect.clients    thrpt    5  557651,668 ±  4317,495  ops/s
SerializationAvro4kDirect.users      thrpt    5  445721,886 ± 11015,122  ops/s
SerializationJackson.clients         thrpt    5  257334,355 ±  3181,248  ops/s
SerializationJackson.users           thrpt    5  314527,930 ±  7471,340  ops/s

Run the benchmark locally

The benchmark currently runs against an unreleased version of avro4k. In order to run the benchmark locally, you'll need to build and deploy the way-to-multiplatform branch of avro4k:

git clone [email protected]:avro-kotlin/avro4k.git
cd avro4k
git checkout way-to-multiplatform
./gradlew publishToMavenLocal

Now you can execute the benchmark:

./gradlew benchmark

kotlin-avro-benchmark's People

Contributors

thake avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.