welcome to solid state laser revolution. No chemicals and very high (compare to previous generations of lasers) efficiency - >20%. These military lasers are in 50Kw range - can be driven from a small (Navy notion of "small" :) generator. (more precisely - banks of high efficiency solid state semiconductor lasers pump one or few large crystals like Nd:YAG)
Also comparing results of hundreds of years of engineering (modern naval gun) to 1st gen / prototype is disingenuous.
Disingenuous? It is the logical thing to do. You don't compare electric cars to golf carts, you compare them to other cars trying to compete in the same market segment.
The same is true here. You compare this new laser gun to the thing it hopes to replace (which in this case are projectile based weapons).
Maybe, just maybe, an argument could be made that it would be unfair to compare a prototype to a production gun. But this laser is now production ready, so that complaint is now moot.
In general, while the Airborne Laser used chemical lasers, and some mobile land lasers also use chemical lasers, those applications have a clear limitation on power generation. It's hard to get all the electricity to power a big solid state laser on a plane, or on a truck. But its a lot easier on a ship.