Profiling truncate code - WIP