r/AskComputerScience • u/silvers_puppet • Aug 07 '26
Does empirical complexity analysis in a container on a server pose any problems?
I haven't worked with servers or containers that much and so I wanted to ask if I try to measure the complexity of an algorithm, by repeatedly running the script with larger n, how likely is it that my measurements will be falsified?
If I do the same approach on a desktop the differences in time measurements depending on, memory and other processes running on the computer are negligible. Is there any difference when I am trying to measure on a server while that same server is also handling requests and do you think this is going to cause me problems with assessing the complexity correctly?
View all comments
Show parent comment
2
u/Beregolas Aug 07 '26
yes, it will provide a rough guesstimate, which will be accurate enough, if you do it properly (multiple runs for example)