Git Product home page Git Product logo

Comments (6)

Xuanwo avatar Xuanwo commented on May 18, 2024 2

Benchmarks on my PC:

compare/Tokio Tracing/1 time:   [984.67 ns 985.53 ns 986.56 ns]
compare/Rustracing/1    time:   [951.65 ns 952.01 ns 952.43 ns]
compare/minitrace/1     time:   [291.75 ns 295.74 ns 299.07 ns]

compare/Tokio Tracing/10 time:   [5.7811 us 5.7983 us 5.8183 us]
compare/Rustracing/10    time:   [2.5986 us 2.5996 us 2.6007 us]
compare/minitrace/10     time:   [494.21 ns 499.66 ns 505.23 ns]

compare/Tokio Tracing/100 time:   [54.287 us 54.609 us 54.987 us]
compare/Rustracing/100    time:   [19.405 us 19.414 us 19.425 us]
compare/minitrace/100     time:   [4.1476 us 4.2456 us 4.3525 us]

compare/Tokio Tracing/1000 time:   [547.53 us 547.70 us 547.90 us]
compare/Rustracing/1000    time:   [192.34 us 192.76 us 193.16 us]
compare/minitrace/1000     time:   [38.085 us 38.899 us 39.558 us]

from opendal.

drmingdrmer avatar drmingdrmer commented on May 18, 2024 1

I'm interested:D

from opendal.

Xuanwo avatar Xuanwo commented on May 18, 2024 1

Where can I get your benchmark code? thinking

Inside minitrace, tested with cargo bench: https://github.com/tikv/minitrace-rust/blob/master/minitrace/benches/compare.rs

from opendal.

Xuanwo avatar Xuanwo commented on May 18, 2024

Also, ping @drmingdrmer, minitrace seems much faster than tokio-tracing. Maybe you will be interested in it too.

from opendal.

drmingdrmer avatar drmingdrmer commented on May 18, 2024

Where can I get your benchmark code? 🤔

from opendal.

D2Lark avatar D2Lark commented on May 18, 2024

I am interested in this issue, let me try

from opendal.

Related Issues (20)

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.