Closed Barsonax closed 4 years ago
Should probably not merge this until #842 is addressed due to the rebase, reviews should be easier afterwards as well.
As #842 has been merged this can now be reviewed.
Before putting all current performance tests in the new project iam curious what do you think about this new setup? @ilexp @SirePi
Overall setup looks pretty good 👍
However, this doesn't seem right:
Looks like a missing ignore condition in the .csproj
?
Also, I'd consider copy-pasting TestObject
next to the benchmark to avoid the dependency to the DualityTests
project, since I'm not sure if that should be there. Not a change request though, just food for thought.
Overall setup looks pretty good 👍
However, this doesn't seem right:
Looks like a missing ignore condition in the
.csproj
?
Probably, haven't spend much attention to polishing everything as I was mostly interested in how you find the benchmarkdotnet way of doing things.
Also, I'd consider copy-pasting
TestObject
next to the benchmark to avoid the dependency to theDualityTests
project, since I'm not sure if that should be there. Not a change request though, just food for thought.
Ye when we move all the benchmarks it should make it more clear we don't need the dependency. Though in benchmarks you might wanna reuse the same models as in the tests (atleast I did in Singularity so much that I moved those to a separate project even).
Moved all our benchmarks in our unit tests to a separate benchmarkdotnet project.
How to use:
dotnet run -c Release --list tree
to view the available benchmarksdotnet run -c Release --filter CloneProviderBenchmarks
to run the CloneProviderBenchmarksTODO:
Rebased on https://github.com/AdamsLair/duality/pull/842