Answer the question
In order to leave comments, you need to log in
Is a Qt + sqlite application slower on Windows than on Mac OS?
Don't take it as trolling, but it happened.
I am writing a text file analyzer - for each file: reads into the OP, processes, writes the result to sqlite.
I developed on Mac OS - everything suited me, I could not get enough of it. I tried it on Windows and was extremely surprised. The speed of the final application is clearly less - and on Mac OS, the total processor load during the program was usually under 80-90 percent, and here it was around 10-20. On Mac OS - GCC, on Windows - mingv and vs2010.
Has anyone experienced this? Any ideas?
Answer the question
In order to leave comments, you need to log in
Did you use optimization flags? In the absence of optimization (-O0), what are the results?
vs2010 has a wonderful profiler - check it out. Without code and profiling results, no one will tell you anything worthwhile.
Maybe on Windows your application is limited by the speed of the hard drive (you can see it in the resource monitor)? If so, then you need to force the system to cache the necessary data in memory: change the sqlite settings, transfer some files to the ram disk, or something else.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question