xamarin-macios/tests/cecil-tests
Rolf Bjarne Kvinge 081505b173
[tests] Improve perf in cecil-tests by only loading assemblies once. (#16997)
Improve perf in cecil-tests by caching loaded assemblies, and thus only
loading them once. The gain isn't all that much - it saves about 3s of ~2m on
my machine, so ~1.5% faster - but it'll be more and more important as we write
more tests. Also the code becomes slightly simpler too.
2022-12-13 09:23:25 +01:00
..
ApiCapitalizationTest.cs [tests] Improve perf in cecil-tests by only loading assemblies once. (#16997) 2022-12-13 09:23:25 +01:00
AttributeTest.cs [tests] Improve perf in cecil-tests by only loading assemblies once. (#16997) 2022-12-13 09:23:25 +01:00
BlittablePInvokes.cs [tests] Improve perf in cecil-tests by only loading assemblies once. (#16997) 2022-12-13 09:23:25 +01:00
CecilExtensions.cs [tests][cecil-tests] Add new test to verify the constructors we expose. 2021-11-26 14:25:21 +01:00
ConstructorTest.cs [cecil-tests] Improve these tests a bit. (#14994) 2022-05-13 20:50:02 +02:00
EnumTest.cs [tests] Improve perf in cecil-tests by only loading assemblies once. (#16997) 2022-12-13 09:23:25 +01:00
GenericPInvokes.cs [tests] Improve perf in cecil-tests by only loading assemblies once. (#16997) 2022-12-13 09:23:25 +01:00
Helper.cs [tests] Improve perf in cecil-tests by only loading assemblies once. (#16997) 2022-12-13 09:23:25 +01:00
Makefile [cecil-tests] Improve these tests a bit. (#14994) 2022-05-13 20:50:02 +02:00
MarshalAsTest.cs [tests] Improve perf in cecil-tests by only loading assemblies once. (#16997) 2022-12-13 09:23:25 +01:00
ObsoleteTest.cs [tests] Improve perf in cecil-tests by only loading assemblies once. (#16997) 2022-12-13 09:23:25 +01:00
OpenTKTest.cs [tests] Improve perf in cecil-tests by only loading assemblies once. (#16997) 2022-12-13 09:23:25 +01:00
README.md [tests] Add cecil-based unit tests (#7825) 2020-02-10 17:23:12 -05:00
Test.cs [tests] Improve perf in cecil-tests by only loading assemblies once. (#16997) 2022-12-13 09:23:25 +01:00
cecil-tests.csproj [CI] Allow tests to be ran in parallel. (#15322) 2022-06-23 08:54:21 -04:00
cecil-tests.sln [tests][cecil-tests] Add new test to verify the constructors we expose. 2021-11-26 14:25:21 +01:00

README.md

Cecil-based Tests

Even with the huge variety of tests that we have there's still a few things that are hard to test properly. Some of them can be tested by analyzing the assemblies (IL or metadata). So here we are...