My experience is that these small computers don't even do well at 1Gbps. When I worked on Google Fiber, we really wanted to implement a speed test between our routers and some trusted server, but the chipset we used couldn't generate data fast enough. (We could route at 1Gbps because it took a hardware fast path, but the software-only path wasn't good enough to provide useful speed tests.) I have subsequently tested RPi4s at another ISP, and again, we couldn't get a gigabit out of them.
In fact, I have never gotten 10Gbps out of any software-only path. Routers can do it, but it's hardware accelerated and won't generate packets at that speed. I did recently get 7Gbps out of normal Internet usage, though, with a consumer-grade 10Gbps NIC on an Intel system. Pretty decent, but not 10Gbps.
Much optimization is necessary to make 10Gbps a thing. It's not a focus for $35 single-board computers. Those things are just obsolete phone chipsets in a desktop form factor; don't expect much out of them.