Back to Browse

getting started with bun.js web server - performance test bun js vs actix-web vs node.js vs deno.js

11.5K views
Jul 18, 2022
22:12

bun js is a brand new modern all in one javascript runtime built for performance and edge that embraces modern javascript / typescript including ESM. in this bun.js tutorial chris gives an overview of what bun.js is, and why it's generated a lot of hype of over existing javascript runtimes such as node.js and deno.js. in this video chris shows you how to get started with bun by installing bun onto your machine and creating a basic web server then performance testing it. chris then compares the performance of bun with other web frameworks such as node.js and deno, as well as rust based web frameworks such as actix-web and rocket. finally chris looks at the reasons why bun is faster than deno.js and what deno could do to improve it's performance and compete against bun. this video is the first part of a series deep-diving bun javascript runtime framework. 00:00 - introduction 00:41 - what is bun 05:11 - install bun 06:37 - creating a web server with bun 07:40 - performance testing bun typescript web server with wrk 09:10 - bun typescript vs javascript web server performance 11:05 - rust actix-web performance vs bun performance 12:05 - rust rocket vs bun performance 12:50 - bun vs node.js web server performance 14:42 - bun vs deno.js web server performance 16:20 - deno should be faster and how deno.js runs under the hood 18:35 - what i would do with deno.js to compete with bun 19:58 - advantage of deno.js over bun performance testing source code is here https://github.com/chrishayuk/webserver-performance

Download

0 formats

No download links available.

getting started with bun.js web server - performance test bun js vs actix-web vs node.js vs deno.js | NatokHD