kazu-yamamoto / simple-sendfile

Cross platform library for the sendfile system call
BSD 3-Clause "New" or "Revised" License
15 stars 11 forks source link

add undefined Fd* functions #34

Closed angerman closed 9 months ago

angerman commented 4 years ago

This is arguably a pretty bad PR. All it does is add the sendfileFd and sendfileFdWithHeader functions as undefined. This allows us to build warp with ghcjs even though it would horribly fail when any sendfile functionarily was used.

kazu-yamamoto commented 4 years ago

Sorry. I did write this comment some days ago but not submitted, sigh.

P1robot commented 4 years ago

Automated benchmark results (pass #0): passed

concurrency: 32
requests per second: 6160
concurrency: 128
requests per second: 7641
concurrency: 512
requests per second: 4685
concurrency: 1024
requests per second: 4006