[Question] Executing printf command is very slow #3017
Description
Activity
Whats wrong with
echo?This is not a Cmder bug.
@jnambo
printfis some kind of external program.The issue is either with
printfor maybe with ConEmu, but the issue is not related to Cmder.Most likely one of the following has happened, and these are things you could investigate:
- Maybe there's been a change in the
printfprogram. - Maybe an antivirus system is taking longer than usual to analyze whether
printfis safe to run.
Reacted by David Refoua and Jose Antonio Nambo Mendoza- Maybe there's been a change in the
printf comes with cmder. Where or how can I check if there is an update for this third-party software?
Running
where printfshows it's part of Git.- changed the title
[-][Bug] cmder executes printf function very slow[/-][+][Question] Executing `printf` command is very slow[/+]on Nov 7, 2025 @jnambo Please try this in Windows Terminal (both with Cmder loaded, and without) to see if eliminating ConEmu from the equation makes a difference.
Please post responses here. Do you need any guides to setup WT?
- added👀 Awaiting ResponseWaiting to hear back from the issue reporter.Waiting to hear back from the issue reporter.
on Nov 7, 2025 Hi @DRSDavidSoft I have tested it with Windows "command prompt", it is slow as well, no CMDER was involved, so it is a library or something, I am not an expert on development prompts. I don't know how to trace loge execution as I did for cmder to get the time it takes to execute the printf command in Windows "CMD" prompt.
I wish to know where this command comes from :( or how to get updates for these libraries :(
- removed👀 Awaiting ResponseWaiting to hear back from the issue reporter.Waiting to hear back from the issue reporter.
on Nov 7, 2025 @j-nambo No worries, hopefully we'll be able to help you.
For now, the first step was to confirm this wasn't a Cmder issue. I'll move this to the discussion section (https://github.com/cmderdev/cmder/discussions) so we could hopefully identify and resolve the issue.
Reacted by j-nambo
Version Information
Cmder Edition
Cmder Full (with Git)
Description of the issue
cmder take around 2 to 3 senconds to execute the printf command see the screenshot and the log file taken from debug feature:
cmder debug.csv
How to reproduce
I have a batch script that prints valid custom "profiles" that I created for my work. It took a lot of time to print the whole table. I can share with you an example.
`@echo off
setlocal
call colors.bat
endlocal`
Additional context
This started to happen suddenly, this problem started a couple of weeks ago, the terminal is executed with admin rights all the time
Checklist