Interesting enough the only thing stopping the naval forces leveling Tripoli was that the Pasha threatened to kill his hostages.
I think their guns were probably quite a bit worse than the major powers.

Even French forts was somewhat ineffective when British forces boarded French ships “safely” anchored under the guns.

I’m not sure why most forts were so ineffective but they surely were compared with what I feel the data tells they should be.