GithubHelp home page GithubHelp logo

Comments (11)

ileixe avatar ileixe commented on July 17, 2024

I just found recent PR(#88) to achieve it.

from tokio-uring.

nik9000 avatar nik9000 commented on July 17, 2024

I think it might be useful to constrain this issue to something like "make tokio-uring work with criterion" - whatever makes that work is fine by me, at least. Does anyone have any other reasons for referencing the Runtime struct?

from tokio-uring.

nik9000 avatar nik9000 commented on July 17, 2024

FWIW I'd be happy to open a PR for this, but I might need some guidance on the "shape" that you'd like it in. Is this something that you'd make a feature for? That feels odd to me because criterion is usually a dev dependency.

from tokio-uring.

Noah-Kennedy avatar Noah-Kennedy commented on July 17, 2024

For an API, I think it should look like the normal tokio runtime API, except with only spawn, block_on, new, and spawn_blocking. We can add a handle as well, either here or later.

from tokio-uring.

nik9000 avatar nik9000 commented on July 17, 2024

So you are thinking of making the struct public with public implementations with the same signature as those methods? I might be able to have a look in the next few days. Or, if you want it, please go ahead. I don't know what I'm doing and I don't get in the way.

from tokio-uring.

nik9000 avatar nik9000 commented on July 17, 2024

When I pull this locally I get a few test failures randomly - explicit_close and drop_off_runtime and sometimes the tests hang around the same place. Is that normal?

from tokio-uring.

Noah-Kennedy avatar Noah-Kennedy commented on July 17, 2024

What kernel do you have?

from tokio-uring.

nik9000 avatar nik9000 commented on July 17, 2024
Linux porco 5.19.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 29 Aug 2022 15:51:05 +0000 x86_64 GNU/Linux

from tokio-uring.

Noah-Kennedy avatar Noah-Kennedy commented on July 17, 2024

@nik9000 see #119.

from tokio-uring.

FrankReh avatar FrankReh commented on July 17, 2024

When I pull this locally I get a few test failures randomly - explicit_close and drop_off_runtime and sometimes the tests hang around the same place. Is that normal?

As you indicated in #119, that problem from Sep seems fixed.

from tokio-uring.

FrankReh avatar FrankReh commented on July 17, 2024

I'm glad the question of a handle came up in this thread already.

from tokio-uring.

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.