Can you provide a source for that? I have found the performance between FreeBSD and Linux to be comparable, even when using Python.
FreeBSD is consistently slower. Between 20-50% across the board. I must admit I'm amazed that Python spends enough time calling into the OS to make a difference this big. Perhaps it's a problem with libc? Maybe there's something going on with memory barriers? My "fist unix" was FreeBSD so I'm amazed and just a bit gutted.
Install any python starting from 3.9
Write a function to sum the first 50_000_000 integers, run it on both.
I'm using FreeBSD for 20+ years on real hardware and never seen huge performance differences for all common software, which is not using CUDA or alike.