Does performance of an individual in a contest also depends on time?

I know that ratings are calculated by comparing my expected performance and my actual performance, But how is actual performance calculated, is it time-dependent?

(I don’t know if it’s the right place to ask this question as I’m new to CodeChef)

yes for short contests