Table of Contents

Overview

Using some object’s properties we can examine different complexities. Complexity values are already defined and they are split into the following tables.

Function complexities

0123456789
Function size (bytes)0 – 4950 – 99100 – 199200 – 299300 – 499500 – 699700 – 9991000 – 14991500 – 30003000 – INF
Function stack size (bytes)0 – 1516 – 3132 – 6364 – 127128 – 255256 – 511512 – 10231024 – 20472048 – 40954096 – INF
Function Call Tree (number of calls)0 – 12 – 34 – 56 – 78 – 1011 – 1516 – 2021 – 3132 – 6364 – INF

Variable complexity

0123456789
Data size (bytes)0 – 78 – 1516 – 3132 – 6364 – 127128 – 255256 – 511512 – 10231024 – 20472048 – INF

Component complexity

0123456789
Ram Alignment (bytes)0 – 45 – 78 – 1516 – 3132 – 4748 – 6364 – 9596 – 255256 – 9991000 – INF
Rom Alignment (bytes)0 – 45 – 78 – 1516 – 3132 – 4748 – 6364 – 9596 – 255256 – 9991000 – INF

Complexity can help developers to see if some objects need optimization, potential memory bottlenecks etc

Go to Top