Did some work on parallelising something and getting good results. The main obstacles for correctness were of course runtime isolation and removal of shared state, but these numbers are fantastic:

-j1
real 9m30.062s
user 6m50.538s
sys 3m17.263s

-j2
real 5m12.476s
user 6m51.635s
sys 3m48.390s

-j4
real 3m7.976s
user 6m46.020s
sys 4m25.210s

-j6
real 2m33.519s
user 7m3.503s
sys 5m15.547s

-j8
real 2m26.915s
user 7m4.006s
sys 5m46.627s

Gains are compounding as we run this a lot a lot and in many configurations at a time.

A good day’s work, and I think we can probably stop here for now.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://narrativ.es/users/janl/statuses/115629056120996531 on your instance and quote it. (Note that quoting is not supported in Mastodon.)