Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.10.1
-
None
Description
Hi,
I use QOCI to request data from Oracle. When i fetch a much data (4000 rows), Qt take 40% of time in futex .
I investiguated and i see in qtcode/qdatetime.cpp, qTzSet() is called every row fetched (because i have a date type column) and just after localtime_r is called.
qTzSet is thread safe. Qt have a mutex lock and glibc also has => it's bad performance for many calls and many concurrents threads..
Is not necessary for me to refresh timezone every row. I export TZ environment variable before start program.
It's possible to envisage a variable macro to configure if we want refresh timezone or no when we are in multithread environnement ?
Thx.
Attachments
Issue Links
- relates to
-
QTBUG-75585 Massive performance regression in QML Date object
- Closed
-
QTBUG-56899 Add a static QTimeZone method to refresh system zone information
- Open