Files
godot-benchmarks/benchmarks/math
Francisco Demartino 8a3cda5617 Add benchmark for expression (#58)
* Add benchmark for expression

There are 3 phases: generate strings, parsing, executing.

The string generation phase is as follows:

Only the 4 basic math (two argument aka binary) operations are used,
it starts with a pool of nodes (initially a node is just a variable),
and randomly combines 2 nodes until only one node remains.

Parsing and executing are straightforward uses of the Expression class.

* Split out expression generator to Python script.
2024-02-05 22:19:46 +01:00
..
2024-02-01 18:57:53 +01:00