Why My KMP in Swift is not faster than BruteForce, even worse

I copied a KMP implementation in Swift, and compared with BruteForce using random (0,1) string, it seems that KMP is not much faster than BruteForce.

WHY?

building...
start KMP
time: 0.0007849931716918945 res: Optional(7306)
start Brute
time: 0.0005890130996704102 res: Optional(7306)
<<<<winner: Brute >>>> 

building...
start KMP
time: 0.0002180337905883789 res: Optional(2719)
start Brute
time: 0.00018596649169921875 res: Optional(2719)
<<<<winner: Brute >>>> 

building...
start KMP
time: 4.398822784423828e-05 res: Optional(252)
start Brute
time: 2.5033950805664062e-05 res: Optional(252)
<<<<winner: Brute >>>> 

Program ended with exit code: 0