I was curious is anyone has seen any performance hits when using your application with a Microsoft SQL 2025 instance? I am currently seeing some latency with the application when running it against 2025. I am using the same version of my application, restoring the same back (creating from 2019 instance) and I am seeing additional latency on the newer instance.
I have ran the profiler against two of the areas I notice it the most and I am seeing where 2019, the application takes about 1.5 seconds but the 2025 tanks about 6 seconds. Once thing I am seeing is that when checking the details of the profiler the DB Time is about the same on both but the Own Time is what seems to be much larger.
I found a previous article showing how to use context for the profiler, the only problem is that the large time is on the business process as a whole and not within an onStart, onEnd, ect. so I am not really sure where to place that using statement. I have attached a screenshot of the profiler showing the BP taking 5,994 ms along with the stats of said BP showing DB Time is only 353 ms and Own Time is 4,823 ms.
This same BP when using a SQL 2019 instance tanks about 1,712 ms (much faster).
If anyone has any suggestions for possible ways to track down what might be causing the latency I would greatly appreciate it.