The main advantages of an electronic ignition system over a magneto system can be summed up in three distinct ways.
Generally type for type there is roughly a 10% reduction of weight over magneto equipped engines, (not including ignition battery) the advent of lightweight Li-Po batteries maximizes this weight gain.
Electronic ignition systems make hand starting even easier and usually offer a better idle and smoother transition throughout the rev range.
Another benefit of electronic ignition is that the micro-processor automatically adjusts the timing throughout the rev range always providing the spark at the right time relative to the pistons position this generally allows the engine to run more efficiently.