Skip to content

Conversation

@clue
Copy link
Owner

@clue clue commented Feb 16, 2020

No description provided.

@clue clue added this to the v2.7.0 milestone Feb 16, 2020
@clue
Copy link
Owner Author

clue commented Feb 16, 2020

For the reference, here's what the output looks like on my machine:

$ php examples/91-benchmark-download.php http://localhost:8080/10g.bin
Requesting http://localhost:8080/10g.bin…
Headers received 
HTTP/1.0 200 OK
Content-Type: application/octet-data
Content-Length: 10000000000
X-Powered-By: React/alpha
Date: Sun, 16 Feb 2020 20:24:44 GMT

Downloaded 10000000000 bytes in 1.841s => 5430.8 MB/s
$ php examples/92-benchmark-upload.php http://localhost:8080 10000
POSTing 10000 MB to http://localhost:8080
10000000000 bytes in 1.850s => 5405.9 MB/s
The length of the submitted request body is: 10000000000

@clue clue force-pushed the benchmark branch 2 times, most recently from b520bb1 to 2e1eee6 Compare February 16, 2020 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant