emilk / loguru

A lightweight C++ logging library
The Unlicense
1.77k stars 256 forks source link

localtime_r has a different performance on iOS ? #182

Open xunbing opened 2 years ago

xunbing commented 2 years ago

My project is a custom keyboard on iOS. When I open the "full access " in setting, I found that loguru::~streamLogger is faster than close "full access". By instrument profile tool, localtime_r has a different unfold between close and open "full access". I have no idea about this diffenrence. Any reply will be appreciate!