The kernel is one of the least important components when it comes to performance.
Kernel tweaks can eek out a couple percent here or there for your specific task (while likely regressing in others) but nothing really significant.
FWIW though, we have lqx and rt variants in NixOS (though rt is mainline now with 6.12).