Issue Details (XML | Word | Printable)

Key: AVATAR_JS-21
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: asquare
Reporter: asquare
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
avatar-js

process.stdout.write is slow when redirected

Created: 15/Oct/13 12:32 AM   Updated: 21/Jan/14 10:25 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. File runner.diff (2 kB) 15/Oct/13 03:07 AM - asquare


Tags:
Participants: asquare


 Description  « Hide

test-http-buffer-sanity.js is very slow and times-out on windows when run under the test-runner. However, if process.stdout.write(',') is replaced with print(',') the test runs quickly and does not timeout. We need to investigate why process.stdout.write is slow when redirected by the test-runner.



asquare added a comment - 15/Oct/13 03:07 AM

attaching test-runner patch that makes synchronous log writes async. This does not fix the issue, but should help.


asquare added a comment - 15/Oct/13 03:09 AM

assigning to kinsley for further investigation into child_process & pipes