Hi, Floby, thanks for replying. I already tried that, sorry I didn't
mention it. Here is everything else I tried:
- Writing a large buffer. For some (yet) unknown reason,
process.binding('fs') fails with buffer larger than 8 octets. But trying to
write 8 byte buffers is worthless, since only the first byte is taken into
account. So i get the same result, 54-62 kHz.
- Creating a write stream and piping a '10101010' stream to it has two
problems: 1. it only worked at about 13 kHz; 2. it is very unstable, since
the garbage collector kicks in more often and the flow fluctuates a lot
more.
- Creating a write stream and piping a read stream with manual "push" or
emitting "data" events in a while(true) loop also failed, since the flow is
unstable. For some reason, this method did not even pass 2 kHz.
Still open for suggestions, I promise an ooscilloscope screenshot for every
new idea :D
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.