eatonphil

Joined 12 years ago

Karma
24,337
Submissions
4,537
Member since
Dec 27
theconsensus.dev
View on Hacker News

Recent submissions

Comment · 2 days ago
Like West Wing. Makes it hard to watch. TNG a bit less so, thankfully.
Comment · 2 days ago
No allocator available isn't the same as being able to enforce no allocations.
Comment · 2 days ago
I agree this isn't the absolute ideal form. I'd rather it be built in as a language directive or something. noalloc does parse compiler escapes emitted by the Go compiler with `-gcflags=-m -S`. One problem is that these are not really a standard format. But I hope that with testing across versions (over time anyway, I only run this on Go 1.27) it'll be stable enough.
Comment · 2 days ago
Comment · 5 days ago
> For real judgements on database products, I'd look to https://jepsen.io/. That author tends to be refreshingly straightforward in a field where many vendors love to cheat by different names

As far as I'm aware, Jepsen solely focuses on correctness (which is more than enough for someone to do!), not performance.

Comment · 12 days ago
Comment · 15 days ago
I have a research folder of some findings comparing Chrome, headless-shell, lightpanda, jsdom, etc. Lightpanda still did quite well, though with much smaller multiples compared once you've mildly tuned Chrome/headless-shell, but it crashed more often than Chrome and headless-shell.

I haven't yet had time to write it up on The Consensus. So here are some findings you can take or leave.

  Configuration                       CPU s  Mem MiB  Median  Matched  Errors
                                      /page   (peak)    page  (of 40)
  Chrome, default flags                2.31    1,229    4.4s      ref       0
  Chrome, tuned                        1.98    1,244    3.1s       40       0
  Chrome, tuned + block all trackers   1.31    1,338    2.2s       37       0
  headless-shell, today's settings     2.30      748    3.9s       39       0
    + stop at network idle             2.16      772    2.6s       39       0
    + block ads/analytics              1.79      748    2.1s       39       0
  headless-shell, tuned                1.67      723    2.1s       39       0
  headless-shell, tuned + no frames    1.29      696    1.9s       39       0
  headless-shell via Playwright        2.58      805    4.2s       38       0
  Firefox via Playwright               6.94    2,270    5.6s       38       0
  WebKit via Playwright                4.76    4,125    5.2s       36       0
  Lightpanda, default                  1.31      540    3.6s       35       4
  Lightpanda, tuned                    1.04      509    1.3s       35       4
  jsdom                                2.66    2,102    4.3s        4       8
  Plain HTTP fetch, no JS             0.002       97   0.05s        0       0
Comment · 16 days ago
hahaha that is a good one.
Comment · 17 days ago
Comment · 17 days ago
> This is the opposite of how most places use the sparkle icon!

I heard this from someone else today too. I'll have to think of a different icon perhaps then.

> It was relaxing to see some minor typos and stylistic awkwardness in this article, I have to be honest.

whoops

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton