-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt direct read on ResourceInputStream::read()
This change should resolve the low performance on Windows' STDIN. STDIN on Windows is a file handle and Windows has specialized support built into it's stream_select implementation, but a stream_select with a file handle takes 100ms, which results in slow performance if we read in smaller chunks and always have to wait 100ms between these. Fixes amphp/socket#52.
- Loading branch information
Showing
1 changed file
with
41 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters