# Benchmarks ## Morphorm 0.5.0 - Morphorm `0.5.0` results come from commit `ee8c4a4a4e9426d66b131befe56bf30c5f5986eb`. - Run on a 2021 MacBook Pro with M1 Max processor. - Benchmarks are using criterion (10 samples). ## Results - All Stretch - All nodes set to stretch space and size. | Benchmark | Morphorm 0.5.0 | | --- | --- | | wide/1_111 nodes (3-level hierarchy) | 203.29 µs | | wide/11_111 nodes (4-level hierarchy) | 2.0403 ms | | wide/111_111 nodes (5-level hierarchy) | 20.321 ms | | wide/1_111_111 nodes (6-level hierarchy) | 205.27 ms | | --- | --- | | deep/1_023 nodes (9-level hierarchy) | 193.44 µs | | deep/8_191 nodes (12-level hierarchy) | 1.5664 ms | | deep/131_071 nodes (16-level hierarchy) | 24.730 ms | | deep/1_048_575 nodes (19-level hierarchy) | 199.34 ms | | --- | --- | | super-deep/1_000 nodes (1000-level hierarchy) | 188.36 µs | ## Results - All Fixed - All nodes set to pixels space and size. | Benchmark | Morphorm 0.5.0 | | --- | --- | | wide/1_111 nodes (3-level hierarchy) | 145.46 µs | | wide/11_111 nodes (4-level hierarchy) | 1.4144 ms | | wide/111_111 nodes (5-level hierarchy) | 13.669 ms | | wide/1_111_111 nodes (6-level hierarchy) | 142.64 ms | | --- | --- | | deep/1_023 nodes (9-level hierarchy) | 137.17 µs | | deep/8_191 nodes (12-level hierarchy) | 1.1170 ms | | deep/131_071 nodes (16-level hierarchy) | 17.322 ms | | deep/1_048_575 nodes (19-level hierarchy) | 140.37 ms | | --- | --- | | super-deep/1_000 nodes (1000-level hierarchy) | 132.23 µs | - wide - 10 children per node. - deep - 2 children per node. - super-deep - 1 child per node.