Skip to content

Latest commit

 

History

History
 
 

stream-file-upload-client

HTTP request file upload benchmark

This is a simple benchmark of uploading a file to a web server in different runtimes.

Usage

Generate a file to upload (default is hello.txt):

bun generate-file.js

Run the server:

node server-node.mjs

Run the benchmark in bun:

bun stream-file-bun.js

Run the benchmark in node:

node stream-file-node.mjs

Run the benchmark in deno:

deno run -A stream-file-deno.js