byte-physics / igortest

Igor Pro Universal Testing Framework
https://docs.byte-physics.de/igor-unit-testing-framework/
BSD 3-Clause "New" or "Revised" License
7 stars 2 forks source link

Instrumentation: Compress consecutive Z_() calls for speed #401

Open t-b opened 1 year ago

t-b commented 1 year ago

As can be seen at e.g.

https://github.com/byte-physics/igor-unit-testing-framework/blob/25fb93dcf86b1d95e53582a47d52ec2cb0599645/tests/test-tracing_instrumented.ipf#L20-L23

we currently output multiple Z_() calls in a row. I would be nice if we could compress these cases to just one Z_() call. The advantage would be speed.

Garados007 commented 1 year ago

Ideas for speedup (they have to be tested)

We need benchmarks for this

t-b commented 1 year ago

Look also into compressing multiple Z_ calls multiline comments.