Heh nice, we just landed a patch that increases performance of our mutexes by 4x under contention. And they were already *really* fast. The change here is a bit of extra caching around tasks, which means we have to do fewer expensive queue operations!https://github.com/async-rs/async-std/pull/529 …
-
Show this thread
-
Heh, comparing our code to Rust's built-in mutexes is really fun too. Apparently we're doing a decent job! (though a significant amount of overhead likely comes from spawning threads).pic.twitter.com/IgQMyjNeTa
1 reply 0 retweets 5 likesShow this thread -
And parking-lot for good measure (we're getting outdone on every category here though, haha)pic.twitter.com/0YR2hu1uEF
4 replies 0 retweets 2 likesShow this thread -
Replying to @yoshuawuyts
Wasn't there talk of moving parking lot into std at some point, like we did with hash brown?
1 reply 0 retweets 2 likes
I believe that work is ongoing, yeah! Included it here to be more like: "this is what we'll be going up against once it's merged" -- we probably won't ever be able to do better than that, but it's a really good baseline!
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.