Adding some performance tests and a new limited TPTE

Some additional changes to attempt to find the performance of different
executor implementations.

Also some small interface tweaks for the R4 proposal.