-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
The version of that graph in the readme links to `bun/bench/react-hello-world` which makes use of `react-dom/server` so it is a slightly more involved test than sending plain `hello world`
On a local 4 core VM, generating the load locally:
Deno.serve() appears to be particularly bad for me at this test until you crank up the concurrent connections (>500) it gets up to 2k rps but it also falls over after that load.
The node react-hello-world.node.js test peaks at about 1.5k rps @ 32 connection
Bun running react-hello-world.jsx gets 8k rps with 32 connections. This uses a customised local copy of `react-dom/server` where [1] at least the `escapeHTML` function is switched for bun's native implementation, and this appears to be packaged (or will be?) with bun [2]. I'm not sure if anything else is different here as the bun packaged code is still minified. The `bench/snippets/react-dom-render.bun.js` [3] test comparing these only show the bun version of `react-dom/server` to be 1.5 - 2x faster on this VM so it appears there is something more to it. Maybe everything `react-dom/server` normally stresses is optimised in bun? or `escapeHTML` is very large on the flamegraph.
Running the react-hello-world.node.js server in bun results in about 1.9k rps @ 32 connection
Running react-hello-world.deno.jsx in bun doesn't work.
Futzing with react-hello-world.deno.jsx to load the cjs react builds will run in bun at about 1.9k rps
0: https://github.com/oven-sh/bun/tree/bun-v0.2.0/bench/react-h...
1: https://github.com/oven-sh/bun/blob/bun-v0.2.0/test/bun.js/r...
2: https://github.com/oven-sh/bun/blob/bun-v0.2.0/bench/react-h...
3: https://github.com/oven-sh/bun/blob/bun-v0.2.0/bench/snippet...
> Bun is about 4X faster than those runtimes.
Lies, damned lies, and benchmarks.
https://github.com/denosaurs/bench
You will need the version of Zig used by Bun. Itβs a few months old, just before LLVM 13 -> 14 migration
https://github.com/oven-sh/zig
I believe cyclic imports are coming. And Nim does supports wasm...you can target it with `--cpu:wasm32`. You most likely want to pair that with emscripten as in https://github.com/treeform/nim_emscripten_tutorial