> For the complete documentation index, see [llms.txt](https://docs.fairmath.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fairmath.xyz/fhe-computer/operating-system/order-book/task-complexity.md).

# Task Complexity

Each task in the system is associated with a **complexity metric**, which quantifies the computational effort required for its execution. The task's complexity is calculated as the sum of the complexities of all its instructions:

* The complexity of a task is determined by adding up the complexity values of its individual instructions.
* This metric helps evaluate and allocate tasks to actors with appropriate resources.
