Setup

Basically, benchmark loops the block with <var_count> variables and <text_length> plain text.

The block is looped <block_count> times.

Tune these params to model from simple variable replacement to pagination loops.

The process is repeated <iterations> times to get the average.

Extra first pass is used to make sure template caches worked before actual benchmark.
a me interessa fare una cosa un pò più avanzata ma soprattutto controllando il codice di benchmark di ogni singolo test per template engine per assicurarmi che sia realmente ottimizzato al massimo

il confronto standard lo ho già

inoltre a me interessa testare anche la memoria e non lo posso fare dall'interno di uno script già eseguito che testa tutto