You don't want either of these; what you want is naproxen.
It works similarly, but stays a lot longer (half life is cited as being anywhere from 12 to 17 hours).
Acetaminophen and ibuprofen are just for temporary problems, like a headache that would go away on its own in a couple of hours.
They are uneconomic and inconvenient if you have something more persistent to keep at bay. Four ibuprofens or one naproxen? No brainer.
The main disadvantage of naproxen is that it's not approved for kids. So there is no naproxen syrup for infants or anything of the sort. Thus, you still need acetaminophen for that.
As pointed out in the article, naproxen is an NSAID like Ibuprofen, though slightly more COX1 selective. It likely has a somewhat lower risk of serious renal and cardiovascular events, but higher risk of GI bleeds. There are some studies that show little to no increase cardiovascular risk, but most do show some or even comparable to ibuprofen.
Convenience vs ibuprofen is a thing given the longer half life, but it still generally comes with similar risks. If you are taking anything for more than just an occasional headache, definitely discuss with a doctor, COX2 selectives like celecoxib may be a better risk profile and even more convenient.
(COX1 and COX2 selectivity loosely separate which systems get the brunt of the side effects)