Comments (2)
Ah yes - thanks for bringing this up! I have been aware of the general issues with *_join_all
and coop
for a while. However, I have not looked at this particular project in some time - possibly before coop was introduced. Am I right in thinking that spawn
should avoid those problems? In fact, spawn
would even be closer to the original scenario than try_join_all
. I believe I switched to try_join_all
to avoid abstracting over (and measuring the overhead of) the different spawn
interfaces and implementations.
So I tried updating and fixing this and other issues, but I concluded it would be better to simply update the README and archive the project. I originally wrote this as a reproduction case for a ~40x performance difference that no longer exists, and I haven't maintained it. I sincerely doubt that it produces (or ever produced?) useful or reliable metrics for real applications.
from async-file-benchmark.
Yeah, spawn
should avoid these issues. If you note the issue in the README, that seems fine to me.
It turns out that there aren't many benchmarks comparing Tokio and async-std, so this is one of the benchmarks people use as it's the only they can find.
from async-file-benchmark.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from async-file-benchmark.