Years ago I decided to actually measure the resolution of some Color4k-X cameras versus distance. The graph below shows my results.
View attachment 231538
The resolution is measured by noting the finest bar pattern that can be seen with the proper number of bars. The distance is measured from the front of the bullet camera. The target is a modified 191 USAF bar target printed out on card stock. I have only one camera with a 2.8 mm focal length lens but two each of 3.6 and 6 mm.
I find that both the 2.8 mm and 3.6 mm have the best resolution of around 1 mm around 4-6 feet from the camera. I was very disappointed in the performance of the 6 mm and would not use it until the subject distance is greater than about 20 feet. All cameras came close to their theoretical resolution at large distances. At short distances the defocus caused a rapid loss of resolution.