Giter Club home page Giter Club logo

skiplist's Introduction

Benchmarks

On a mid-2015 Macbook Pro:

λ go test -run=NO_TEST -bench . -benchmem -benchtime 1s ./...
BenchmarkPut100-8                  30000             70578 ns/op            6532 B/op        200 allocs/op
BenchmarkPut1000-8                  5000            903507 ns/op           65330 B/op       2000 allocs/op
BenchmarkPut10000-8                  300           6021168 ns/op          653359 B/op      20000 allocs/op
BenchmarkPutRemoveAll100-8         50000             34872 ns/op            8750 B/op        210 allocs/op
BenchmarkPutRemoveAll1000-8         5000            336889 ns/op           81887 B/op       2013 allocs/op
BenchmarkPutRemoveAll10000-8         500           3462277 ns/op         1039832 B/op      20022 allocs/op
BenchmarkPutRemove-8             5000000               253 ns/op              65 B/op          2 allocs/op
PASS
ok      github.com/pboyer/skiplist      16.902s

skiplist's People

Contributors

pboyer avatar

Stargazers

 avatar  avatar

Watchers

 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.