executeWithStats: Initial crappy undocumented Linux-only version.