News for hackers. Stuff that matters.
Re:The Sourcehut Project Hub by lhorie on Thursday April 30, 2020 @07:15PM (#23037373)
I find the text a bit hard to read (and it seems at least one other commenter mentioned the compressed line-height).

What I do notice is that the site loads very fast (sub-1s w/ cache disabled via devtools to simulate first visit, and sub-50ms otherwise). That alone deserves big props.

Re:The Sourcehut Project Hub by ddevault on Thursday April 30, 2020 @08:34PM (#23037947)
I am very proud of our performance :)

https://forgeperf.org/

Re:The Sourcehut Project Hub by mappu on Thursday April 30, 2020 @10:04PM (#23038435)
I think Codeberg.org is not doing the (normally very fast) Gitea any favors here, because it's hosted on Hetzner in Germany. Lighthouse may only throttle the connection further.

Where are the tests being run from?

Is there any way to control for network latency (maybe subtract the ICMP rtt from the tests?)

You might consider comparing it to other Gitea instances like https://try.gitea.io/ (Digital Ocean / USA), https://mirror.git.trinitydesktop.org/ (Czech Republic) or https://gitea.com/ (China), but I guess Codeberg is probably the most representative instance for public use.

Re:The Sourcehut Project Hub by ddevault on Thursday April 30, 2020 @10:07PM (#23038442)
This has been brought up many times, but latency and bandwidth is controlled for with Lighthouse. The same tests have also been run from Germany without appreciably different results. It's also easy to run the test suite yourself if you have an hour of compute time to spare:

https://git.sr.ht/~sircmpwn/forgeperf

The goal here isn't to compare forge software (that would require a completely different approach to level the playing field), but to compare hosted options. The test suite is easily extended with other hosts or pages, and a few people have tested against their own Gitea instance - usually it ranks somewhere just above the middle of the pack.

Re:The Sourcehut Project Hub by kick on Thursday April 30, 2020 @09:02PM (#23038093)
Line-height on Sourcehut itself is reasonable. It's just on the blog that it's off.
Re:The Sourcehut Project Hub by Scarbutt on Thursday April 30, 2020 @08:33PM (#23037940)
some heavy caching is happening somewhere.
Re:The Sourcehut Project Hub by ddevault on Thursday April 30, 2020 @08:35PM (#23037955)
No caching (except for the CSS file, which your browser is probably caching), just simple pages and lightweight backends.

https://forgeperf.org

All of our pages are done in 2 requests, or 1 with a warm cache.

Re:The Sourcehut Project Hub by Hello71 on Friday May 01, 2020 @12:02AM (#23039006)
I was going to ask how you speed up pygments so much, but apparently the answer is "actually, some stuff is cached".
Re:The Sourcehut Project Hub by ddevault on Friday May 01, 2020 @12:21AM (#23039097)
Ah, yes, some stuff is cached :) but it doesn't do much, we kind of cache it on principle. An example that makes more of a difference is the git SSH pipeline.