Mallet swam for France at the 2008 Olympics, where he was part of France's silver-medal winning 4 × 100 m freestyle relay after he swam in the preliminary heats. At the 2012 Summer Olympics he also swam in the final of the men's 4 × 200 m freestyle relay to help France win the silver medal.