August 12, 2019 std.benchmark SAOC | ||||
---|---|---|---|---|
| ||||
Hello, I was looking at this project for SAOC, and thinking about how to best approach it. If I understand it correctly, it would require that every function in std would have a corresponding unit-test which would measure the time it takes, and subsequently check the performance impact when the function is changed. Would this be the correct approach, or have I misunderstood the issue? Thanks, Visan Tudor-Cosmin |
August 13, 2019 Re: std.benchmark SAOC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Visan Tudor-Cosmin | That is pretty much accurate. Additionally, the run times should be persisted and nicely presented. I did a tiny bit in https://github.com/burner/phobos/commit/8841a53b3d460b17e8aa81b33b84d719809c587b have a look into the file in it std/stringbenchmarks.d |
Copyright © 1999-2021 by the D Language Foundation