Re: [fpc-devel] Testing compiler efficiency

2021-06-02 Thread J. Gareth Moreton via fpc-devel
To explain, I've done some minor refactoring of the register tracking class that will provide a speed boost when dealing with UpdateUsedRegs(TmpUsedRegs, p); and allow a descendant class to be extended from it (I plan to experiment with running some peephole optimisations while the registers

[fpc-devel] Testing compiler efficiency

2021-05-31 Thread J. Gareth Moreton via fpc-devel
Hi everyone, I've found a potential area where the speed of the compiler itself could be improved (while researching something unrelated!).  I have a quick little question though.  What's the preferred way to test the compiler speed and time how long it takes to build something in general?  In