Thanks for your reply. 1¡¢ Could you tell us what the format string is in your case? -------------- snprintf(buf, sizeof(buf), "this is a more typical error message with detail: %s", "No such file or directory"); 2¡¢First call to printf_core() checks to see if there are any major problems with the format string -------------- Maybe the second call can also checks the format error£¿ 3¡¢if the string is using positional arguments (e.g. "%2$d"), also establishes the types of these arguments and writes them into an array. -------------- I use above format string£¬I think it's a typical error message, I found the first printf_core do string traversal and cost some time showed in perf. If we remove the first function call when we don't use ("%2$d"), is there any problem£¿Or do you have some advice for impove the vfprintf performance in common scenarios£¿ Regards  Chuang Yin ------------------ Original ------------------ From: "musl"