-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Benchmark wanted: copy throughput #890
Comments
What counterpart should it compare with? Golang? You need to set a performance goal such as "it should be similar to Golang". Then we need to port all benchmarks to (for instance) Golang so that we get relative numbers and not just "1 million unnamed units of performance". You want to get numbers like "0.79x of Golang". |
No counterpart needed for the first version - would like to just get continuous look at the perf |
I can't get any of the examples to work on Windows or Linux. Deno just exits as soon as there's a connection. I downloaded the 0.1.7 binaries. This is what I ran: import * as deno from "deno";
let listener = deno.listen("tcp", "127.0.0.1:4500");
listener.accept().then(async (conn) => {
await deno.copy(conn, conn);
conn.close();
listener.close();
}); |
Likely you are experiencing #919 |
outlined here: #884 (comment)
Should wait for #884 to land.
In the future we will want to compare it to TLS throughput.
It makes sense to also compare it to a program that measures stdio throughput:
The text was updated successfully, but these errors were encountered: