current_zone()->to_local(now) does time zone database lookups and DST calculations. That's why it takes more time than localtime_s .
current_zone()->to_local(now)
localtime_s
std::format is slower because of heavy formatting logics.
std::format