Multitasking or context switching?
Tags: multitasking, contextswitching, softwareengineering
Published: 2023-01-24 11:04:19

"But they were, all of them, deceived."

Today's workplace and responsibilities of a job practically expect us to multitask. It’s so common to work on several tasks simultaneously, especially when considering the rise of <a href="https://helloacm.com/planning-cards-agile-poker-game/" rel="noopener" target="_blank">agile</a> methodologies that we all perceive ourselves as multitaskers.

But it seems we got it wrong.

<h3>Multitasking or context switching?</h3>
Being a multitasker means working on more than two tasks simultaneously. It is an entirely normal occurrence nowadays, and many people call themselves multitaskers, but is that correct? It seems that only 2,5% of the population can effortlessly multitask, and they are called supertaskers or multitask masters.

According to research, this is because supertaskers actually have different brains than the rest of the population. Supertaskers have the cognitive ability to work on multiple tasks simultaneously without making mistakes, pausing, or decreasing their <a href="https://codingforspeed.com/integer-performance-comparison-for-c-c-delphi/" title="Integer Performance Comparison for C++, C#, Delphi">performance</a>. In other words, they tend to work better when multitasking. So if you have a high level of attention control, the ability to make decisions instantly, and you thrive under stress, then you might be a supertasker.

<h4>What about the ~97.5% of the population?</h4>
They mostly jump between tasks or switch between contexts, and they do it so fast that it seems like multitasking. It’s pretty popular to do it because everyone thinks this will save time. On the contrary, switching focus from one task to another, you tend to experience the Cognitive Switching Penalty. The brain spends extra time and energy loading and reloading contexts into working memory, significantly slowing down <a href="https://codingforspeed.com/do-you-need-objectives-and-key-results-okr-or-is-it-just-a-current-fancy/" title="Do you need Objectives and Key Results (OKR), or is it just a current fancy?">progress</a>.

<h4>Cost of context switching</h4>
Other research shows that context switching can hurt cognitive abilities, productivity, time and performance. According to research at the University of Sussex, operating on multiple digital devices simultaneously can lead to a decrease in brain density. Furthermore, a research paper from 2007 showed that people approximately lose 10 minutes being distracted by new emails and notifications and 10 to 15 minutes being distracted by other types of tasks. In addition, researchers at the University of Oregon found that multitaskers often have focus and memory problems.

This does not mean that switching between tasks without losing productivity is impossible. There are ways to switch context and save time or increase <a href="https://codingforspeed.com/performance-comparison-between-php7-0-11-and-php5-6-23-on-two-vps/" title="Performance Comparison between PHP7.0.11 and PHP5.6.23 on Two VPS">performance</a>. When considering the workload of an average employee, working on multiple tasks practically became a necessity, especially in the IT community. So how to make the workday easier? Try organising the workload into time blocks, timeboxes, and/or Pomodoro blocks. It is also beneficial to focus on one set of tasks at a time or schedule similar tasks on the same day. When switching between tasks, do it at the right time. Lastly, try eliminating distractions.

[caption id="attachment_740" align="alignnone" width="260"]<img src="https://codingforspeed.com/wp-content/uploads/2023/01/not-sure-if-good-at-multitasking-or-bad-at-concentrating.jpg" alt="Not sure if good at multitasking - bad at concentrating" width="260" height="197" class="size-full wp-image-740" /> Not sure if good at multitasking - bad at concentrating[/caption]

Reposted to [Blog](https://codingforspeed.com/multitasking-or-context-switching/)