Improve workflow_display_timing function