ModS
ModS

Reputation: 846

c# timer Always enabled Performance

I would like to have a timer running 100% of the day and was unsure if this would cause an issue. It will tick once a minute for the most part and will compare DateTime.Now to 5 stored values.

In theory does having this timer running mean i will be taking a performance hit once per minute, or is the minimal code involved going to create a problem.

Upvotes: 1

Views: 348

Answers (1)

oppassum
oppassum

Reputation: 1765

There won't be enough code to have any noticeable performance hit. The timer executes the code in one or more event sinks and will use a minimal amount of CPU cycles.

Upvotes: 1

Related Questions