News for hackers. Stuff that matters.
Re:Althttpd: Simple webserver in a single C file by tyingq on Tuesday June 08, 2021 @10:20AM (#27435534)
Another comment shows 10 seconds on a relatively decent CPU from 2017. So it is a fairly heavyweight task, though I suppose could be rewritten to use more than one core.
Re:Althttpd: Simple webserver in a single C file by ithkuil on Wednesday June 09, 2021 @03:54AM (#27445361)
yeah, that's a lot of iterations :-)

I was curious to see how my M1 compares to my intel 2019 macbook pro:

M1:

/tmp/tt 8.42s user 0.01s system 99% cpu 8.435 total

2,6 GHz 6-Core Intel Core i7

/tmp/tt 15.69s user 0.03s system 98% cpu 15.888 total

/tmp/tt 15.69s user 0.03s system 98% cpu 15.888 total