Code Monkey home page Code Monkey logo

automerge-benchmark's Introduction

automerge-benchmark

automerge-benchmark provides a benchmark for automerge.

Separated from automerge library to avoid burdening automerge with the size of the data set files.

See https://github.com/savaki/automerge.

automerge-perf

go run main.go

applying testdata/sample.json (4470915 bytes)

 25000:  55640 bytes, 7.4 µs/op
 50000: 112304 bytes, 7.5 µs/op
 75000: 168763 bytes, 8.1 µs/op
100000: 225596 bytes, 8.8 µs/op
125000: 281101 bytes, 8.7 µs/op
150000: 337149 bytes, 8.5 µs/op
175000: 393577 bytes, 9.6 µs/op
200000: 450640 bytes, 9.7 µs/op
225000: 508737 bytes, 10.5 µs/op
250000: 565644 bytes, 10.4 µs/op

edits:    259778
bytes:    588102
elapsed:  2.328s

text file

automerge-benchmark can also be used to calculate the storage size for an arbitrary text file.
All operations would be considered sequential writes.

go run main.go --file testdata/teatro_massimo_bellini.txt

applying testdata/teatro_massimo_bellini.txt (2342 bytes)

edits:    2336
bytes:    4870
elapsed:  22ms

automerge-benchmark's People

Contributors

savaki avatar

Watchers

 avatar  avatar  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.