Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

WPF Performance-Wise?

$
0
0

Hi,

There are a few Timer that can be used for WPF

1. DispatcherTimer

2. System.Timers.Timer

3. System.Threading.Timer

I am facing some performance problem and not happy with it. Let me descibe a brief about my scenarios.

The app makes multiple calls to Web Services(

simultaneously)

then return json data by using HTTPClient then update the UI.

At this point, I am using the DispatherTimer. I have got a number of the DispatcherTimer Instances with specifies timeInterval(E.G 5)

Which timer shall I use out of the three timers above?

Shall I forgoes the DispatcherTime then using separte Threading the schudling into Dispatcher's Queue of the running Thrading?

Please give me more advises and you opininon


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>