Operating Systems are software. Program code that is writen to accomplish a task.
Performance is generally measured by size (how much memory it needs) and speed. Using less memory and taking less time saves power which is important when using batteries.