The Iraqi parliament took 249 days of embattled negotiations to form a government; a world record (which has now been captured by the Belgians). With a matrix vote, it could have all been done in a forenoon. The Matrix Vote: Electing an all-party Coalition Cabinet is published in Voting Matters, No 29, and is available here.
(See also 2012-7 and 2011-6.)