code size

Even then, the mega and uno sizes are still off, the pinMode, digitalWrite functions have a PGM table overhead, which is only added once, but not until pin manipulation functions are called ( compiler optimisation ). As I understand the due does not use this style of pin control.

This means most of the Uno and Mega 'incremental' size is actually setup size.

A more complex example would be required, like drawing something on an LCD.