With a programmable ECU you need a base map for (at the very least) ignition and RC valve timing. Start with 2D, progress to 3D (TPS) when you know what you're doing.
You need to consider that even the ancient PGMIII knew not only how much, but also how fast you were opening the throttle and adjusted the ignition timing to suit. Then there's air solenoid operation vis a vis rpm and throttle position.
On the flip side, the PGMII F3 and NF5 units didn't care about throttle position and relied on a 2D map for ignition and RC valve.
I started with a 2D map based on the NF5. Biggest gains were made getting the RC valve timing right. Ignition timing helped get me some over rev and a little in the mid range. Not a lot to be gained at peak.
Concerning FI. I'm a little skeptical that unless you redesigned the whole engine to direct FI, I don't think you'd get any major gains in performance over a well set up carb. Might save some fuel, or even save the planet, but as for getting to the chippy before me.......I don't think so!