framework-benchmarks
bun
![SurveyJS Logo](https://cdn-b.libhunt.com/images/promo-campaign-images/000/000/030/main.png?1674177924)
framework-benchmarks | bun | |
---|---|---|
2 | 293 | |
464 | 71,429 | |
1.5% | 1.0% | |
0.0 | 10.0 | |
almost 2 years ago | 5 days ago | |
TypeScript | Zig | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
framework-benchmarks
-
A first look at Bun: is it really 3x faster than Node.js and Deno?
I created a dashboard app in Mitosis (source). It has a full tree of components, business logic, dependencies, uses props and state and other typical React features.
Full benchmark source here: https://github.com/builderio/framework-benchmarks
bun
-
[Hono] Simple Messaging App using Bun and WebSocket
For more details, visit: https://bun.sh/
-
Yes. You can deploy Nuxt on Firebase App Hosting (2024)
I'm using macOS with Node.js v20.13.1 (lts/iron), VSCode with the official Vue extension, bun v1.1.8.
-
Getting started with Bun: A beginners guide
GitHub Repository: Bun GitHub
-
When to Use Bun Instead of Node.js
Bun is a new JavaScript runtime designed for server-side execution of both JavaScript and TypeScript. It’s developed in Zig, a low-level programming language that allows Bun to reach extreme levels of performance. Thanks to that, it’s suitable for developing high-speed server applications.
-
Node Test Runner vs Bun Test Runner (with TypeScript and ESM)
It has a decent compatibility with both Jest and Vitest's APIs (you can track progress here so you can use it as almost a drop-in replacement for either. Just as Node's, it has describe/it, mock, test and others, but with the expect syntax (which I find more readable). For example:
-
SPA-Like Navigation Preserving Web Component State
In this third and final article in the series on HTML Streaming, we will explore the practical implementation of the Diff DOM Streaming library in web browsing. This approach will allow any website using web components to retain its state during browsing. We will discuss in detail how to achieve this step by step using VanillaJS and Bun.
-
React Server Components Example with Next.js
At Node Conference 2023, Jarred Sumner (creator of Bun) showed a demo of server components in Bun, so there is at least partial support in that ecosystem. The Bun repo provides bun-plugin-server-components as the official plugin for server components. And while I haven’t looked at it in-depth, Marz claims to be a “React Server Components Framework for Bun”.
- Bun – A fast all-in-one JavaScript runtime
-
From Node to Bun: A New Dawn for JavaScript Engines?
Continuously evolving, Bun is currently optimized for MacOS and Linux, with ongoing efforts towards Windows compatibility. Tailored for resource-constrained environments like serverless functions, it emerges as an ideal solution. The Bun team is committed to achieving comprehensive Node.js compatibility and seamless integration with prevalent frameworks. For those intrigued by Bun's potential and want to give it a try, more information is available on its website at https://bun.sh/.
-
Bun - The One Tool for All Your JavaScript/Typescript Project's Needs?
Let’s say you are interested in learning more about Bun and probably give it a try. Bun has a website, where you can learn more about Bun and its features (including all the benchmark data captured in this issue), and here is the link.
What are some alternatives?
autocannon - fast HTTP/1.1 benchmarking tool written in Node.js
vite - Next generation frontend tooling. It's fast!
GORM - The fantastic ORM library for Golang, aims to be developer friendly
nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
fastify - Fast and low overhead web framework, for Node.js
go-pg - Golang ORM with focus on PostgreSQL features and performance
deno - A modern runtime for JavaScript and TypeScript.
just - the only javascript runtime to hit no.1 on techempower :fire:
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
Svelte - Cybernetically enhanced web apps
pgx - PostgreSQL driver and toolkit for Go
Next.js - The React Framework
![SurveyJS Logo](https://cdn-b.libhunt.com/images/promo-campaign-images/000/000/030/main.png?1674177924)