Look at the analysis tag on the bags. That gives you the percentages of various important components. Most will be pretty close. Protein could vary or be pretty close. I'd expect the protein on the Layer to be 16%, possibly 18%. All-Flock is probably 20% protein. Calcium in the Layer is going to be around 4% while the All-Flock will have about 1% calcium.
You can get so many different opinions on "best" it isn't close to funny. Some of those opinions can be pretty strong, even if different. I'll offer some of my opinions.
Laying hens need calcium for the eggshells. If all they eat is Layer, they will get enough calcium but if they get many treats or forage for much of their food they may be short on calcium. Most of us (not all) agree that Layer contains more calcium than is good for a rooster or non-laying chicken like one molting, broody, or a juvenile. All-Flock does not contain enough calcium for a hen's eggshells. The way a lot of us that have roosters or non-laying chickens in the flock handle this is to feed a low calcium feed like All-Flock and offer a calcium supplement like oyster shell on the side. The ones that need the calcium for their eggshells seem to eat enough oyster shell and the ones that don't need it for eggs might eat some but don't eat enough to harm themselves.
Some people believe you are abusing your chickens if you don't offer a fairly high percent protein feed. 20% protein is a level often stated. I'm quite happy to give mine a 16% protein low calcium feed and let them forage for a fair amount of what they eat.