News for hackers. Stuff that matters.
Re:TrailBase: Sub-millisecond open-source application base w... by bmacho on Wednesday February 05, 2025 @01:52AM (#42944839)
That "JavaScript Performance" diagram with the vertical "CPU cores" axis is so weird. I am not sure if it is a mistake, it probably is.
Re:TrailBase: Sub-millisecond open-source application base w... by trailbase on Wednesday February 05, 2025 @04:58AM (#42946344)
You might be thinking JavaScript runs on a single threaded event loop? That's correct, however you can run N event loops in parallel (isolates in v8 lingo). `deno serve` even has a `--parallel` flag (https://docs.deno.com/runtime/reference/cli/serve/).

It would have certainly been simpler to just plot the overall runtime (width of the graph), I did think that it was quite interesting that PB's goja integration takes a while before utilizing the entire machine.

Re:TrailBase: Sub-millisecond open-source application base w... by bmacho on Wednesday February 05, 2025 @08:24AM (#42948123)
Oops, I was completely misinterpreting the chart, but I am cool now. I retract the previous comment, it looks okay.