@sprintf seems to contribute in large to the inference issues. See first post of. If I replace the @sprintf call here by a call to sprintf in the C lib, it shaves me 1 sec in Time to First Plot.
@sprintf
sprintf