Otherwise it spends half of the time doing timezone conversions to local time.
Details
Details
- Copied a million files. Time spent in QDateTime::setMSecsSinceEpoch went from 44% to 0.1%, total time of addCopyInfoFromUDSEnty went from 57% to 36%, now the bottleneck is all that path concatenation causing URL decoding.
- Verified that copied files still have correct mtime
- Verified that "overwrite?" dialog still shows correct mtime
Diff Detail
Diff Detail
- Repository
- R241 KIO
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Yep, tzset is really slow. I suppose there are other similar lines of code in KIO that would benefit from the same fix? KFileItem for example?