quickjs-cross-compiler
quickjs-cross-compiler copied to clipboard
Improve performance under alpine linux
Hi, could you please take a look at https://github.com/bellard/quickjs/pull/239 ? It improves the behaviour in alpine containers (where looping through all fds is quite inefficient) Let me know if you need more informations
@nicolas-duteil-nova Feel free to open a PR. This project is focused on running musl based quickjs, so as long as your PR improves performances, I'll gladly merge it
See https://github.com/ctn-malone/quickjs-cross-compiler/pull/2
Running exec'['date']) 100 times in a loop yields following values
fd_max(65535) : ~ 600ms fd_max(1024) : ~ 200ms fd_max(/proc): ~ 190ms