Modern fuel injectors are all-open or all-closed, and the computer determines how long to turn them on (during the intake cycle). On time is in thousandths of a second, with accuracies in the tens of thousandths. It turns out that all the complexity is needed to be able to drive the damned thing on the road. For flat-out drag or circle track mechanical stuff works, but it would be a bear to go to the store in. Notice that fuel injection didn't really become practical until microcomputers became tiny and cheap. The Bendix systems of the 50's were very simple electronics -- and they didn't work for s**t.