This is bunJS installed simple image.
show:https://bun.sh
# docker run -it neko3tech/bun:0.1.11-debian-bullseye
-----
root@xxx:/# bun -v
0.1.11
root@xxx:/# cat << EOF >> fib.js
const fib = (n) => {
if (n < 2) { return n; }
return fib(n - 1) + fib(n - 2);
};
console.log(fib(43));
EOF
root@xxx:/# time bun fib.js
433494437
real 0m13.382s
user 0m13.360s
sys 0m0.029s
If you have a NodeJs runtime environment, try running the same script, you will see the difference.
The rest of you can enjoy bunJs as you like!!
Content type
Image
Digest
sha256:abce2ba25…
Size
62.4 MB
Last updated
about 4 years ago
docker pull neko3tech/bun:0.1.11-debian-bullseye