federate.me.uk is one of the many independent Mastodon servers you can use to participate in the fediverse.
My personal Mastodon instance

Administered by:

Server stats:

1
active users

Interesting performance and behaviour difference between shells and the "read" builtin.

After upgrading to macOS Sonoma I noticed the check-portability script occasionally taking over an hour and falling foul of my "ulimit -t 3600".

$ wc text-public.js.map
0 960590 13488786 text-public.js.map

Time to "read f < text-public.js.map" and wc $f:

: 0.5 seconds
1 960590 13060347

: 6.2 seconds
15904 973513 13030108

: 6.4 seconds
15903 973410 13033181

Jonathan Perkin

While we could add a bunch of CHECK_PORTABILITY_SKIP entries to skip these files, I prefer to fix things properly, and so have committed a general fix for this which should speed up most packages.

github.com/TritonDataCenter/pk

Nice reduction in runtime from 86 seconds down to just 1!

If anyone has access to really old systems and are able to tell me if they do not have "read -n" then that'd be hugely appreciated, though it's likely we'd bootstrap on them anyway.

GitHubmk: Improve check-portability.sh read performance. · TritonDataCenter/pkgsrc@df1af49Many packages nowadays bundle large asset files, some of which are minified to reduce all of the content to a single line. This can significantly increase the runtime of this script when using cer...