Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add comparison between QDateTime::fromMSecsSinceEpoch
It is much faster to directly get the msecs in UTC rather then first getting a local timestamp and converting it to UTC afterwards: ``` PASS : BenchQDateTime::benchFromMSecsSinceEpoch() RESULT : BenchQDateTime::benchFromMSecsSinceEpoch(): 0.0057 msecs per iteration (total: 94, iterations: 16384) PASS : BenchQDateTime::benchFromMSecsSinceEpochToUTC() RESULT : BenchQDateTime::benchFromMSecsSinceEpochToUTC(): 0.0075 msecs per iteration (total: 62, iterations: 8192) PASS : BenchQDateTime::benchFromMSecsSinceEpochUTC() RESULT : BenchQDateTime::benchFromMSecsSinceEpochUTC(): 0.000013 msecs per iteration (total: 57, iterations: 4194304) ```
- Loading branch information