Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use function pointers instead of delegates to clear object pool in C#9. #259

Merged
merged 1 commit into from
Sep 10, 2023

Use function pointers instead of delegates to clear object pool in C#9.

1b818fb
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Use function pointers instead of delegates to clear object pool in C#9. #259

Use function pointers instead of delegates to clear object pool in C#9.
1b818fb
Select commit
Loading
Failed to load commit list.
GitHub Actions / dotnet-test-results-net6.0-Debug_NoProgress-Pool_Disabled-devMode succeeded Sep 10, 2023 in 0s

dotnet-test-results-net6.0-Debug_NoProgress-Pool_Disabled-devMode ✅

Tests passed successfully

✅ TestResults/dotnet-test-results-net6.0-Debug_NoProgress-Pool_Disabled-devMode.trx

13064 tests were completed in 1888s with 13064 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ProtoPromiseTests.APIs.AllTests 22✅ 2s
ProtoPromiseTests.APIs.APlus_2_1_PromiseStates+_2_1_1_WhenPendingAPromise 2✅ 178ms
ProtoPromiseTests.APIs.APlus_2_1_PromiseStates+_2_1_2_WhenFulfilledAPromise 3✅ 523ms
ProtoPromiseTests.APIs.APlus_2_1_PromiseStates+_2_1_3_WhenRejectedAPromise 4✅ 506ms
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod 4✅ 415ms
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod+_2_2_1_BothOnResolveAndOnRejectedAreOptionalArgument 4✅ 266ms
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod+_2_2_3_IfOnRejectedIsAFunction 6✅ 430ms
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod+_2_2_6_ThenMayBeCalledMultipleTimesOnTheSamePromise 4✅ 223ms
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod+IfOnFulfilledIsAFunction_2_2_2 5✅ 320ms
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod+ThenMustReturnAPromise_2_2_7 20✅ 1s
ProtoPromiseTests.APIs.APlus_2_3_ThePromiseResolutionProcedure 14✅ 2s
ProtoPromiseTests.APIs.APlus_2_3_ThePromiseResolutionProcedure+_2_3_2_IfXIsAPromiseAdoptItsState 5✅ 530ms
ProtoPromiseTests.APIs.AsyncFunctionTests 32✅ 2s
ProtoPromiseTests.APIs.AsyncLazyTests 18✅ 1s
ProtoPromiseTests.APIs.AsyncLocalTests 4✅ 222ms
ProtoPromiseTests.APIs.AwaitTests 52✅ 3s
ProtoPromiseTests.APIs.CancelationTests+Registration 40✅ 7s
ProtoPromiseTests.APIs.CancelationTests+Source 36✅ 2s
ProtoPromiseTests.APIs.CancelationTests+Token 35✅ 2s
ProtoPromiseTests.APIs.CaptureTests 34✅ 2s
ProtoPromiseTests.APIs.ContinuewithTests 18✅ 1s
ProtoPromiseTests.APIs.FinallyTests 14✅ 896ms
ProtoPromiseTests.APIs.FirstTests 50✅ 3s
ProtoPromiseTests.APIs.MergeTests 10✅ 642ms
ProtoPromiseTests.APIs.MiscellaneousTests 119✅ 44s
ProtoPromiseTests.APIs.NewAndRunTests 608✅ 39s
ProtoPromiseTests.APIs.ParallelForTests 26✅ 2s
ProtoPromiseTests.APIs.ProgressTests 24✅ 1s
ProtoPromiseTests.APIs.PromiseCancelationTests 21✅ 1s
ProtoPromiseTests.APIs.PromiseCancelationTests+CancelationToken 28✅ 2s
ProtoPromiseTests.APIs.PromiseCancelationTests+CancelationToken+Reject 6✅ 823ms
ProtoPromiseTests.APIs.PromiseCancelationTests+CatchCancelationMayBeCalledMultipleTimesOnTheSamePromise 2✅ 117ms
ProtoPromiseTests.APIs.PromiseCancelationTests+IfOnCanceledIsAFunction 5✅ 292ms
ProtoPromiseTests.APIs.PromiseCancelationTests+ThePromiseResolutionProcedure 6✅ 385ms
ProtoPromiseTests.APIs.PromiseCancelationTests+ThePromiseResolutionProcedure+IfXIsAPromiseAdoptItsState 6✅ 356ms
ProtoPromiseTests.APIs.PromiseCancelationTests+WhenCanceledAPromise 2✅ 117ms
ProtoPromiseTests.APIs.PromiseCancelationTests+WhenFulfilledAPromise 2✅ 115ms
ProtoPromiseTests.APIs.PromiseCancelationTests+WhenPendingAPromise 2✅ 111ms
ProtoPromiseTests.APIs.PromiseCancelationTests+WhenRejectedAPromise 2✅ 116ms
ProtoPromiseTests.APIs.RaceTests 38✅ 2s
ProtoPromiseTests.APIs.SequenceTests 15✅ 869ms
ProtoPromiseTests.APIs.Threading.AsyncAutoResetEventTests 18✅ 2s
ProtoPromiseTests.APIs.Threading.AsyncConditionVariableTests 22✅ 2s
ProtoPromiseTests.APIs.Threading.AsyncCountdownEventTests 20✅ 2s
ProtoPromiseTests.APIs.Threading.AsyncLockTests 17✅ 2s
ProtoPromiseTests.APIs.Threading.AsyncManualResetEventTests 19✅ 2s
ProtoPromiseTests.APIs.Threading.AsyncMonitorTests 39✅ 3s
ProtoPromiseTests.APIs.Threading.AsyncReaderWriterLockTests 186✅ 12s
ProtoPromiseTests.APIs.Threading.AsyncSemaphoreTests 21✅ 1s
ProtoPromiseTests.APIs.UncaughtRejectionTests 76✅ 7s
ProtoPromiseTests.APIs.WaitAsyncTests 8880✅ 591s
ProtoPromiseTests.Concurrency.AllConcurrencyTests 256✅ 36s
ProtoPromiseTests.Concurrency.ApiWithCancelationTokenConcurrencyTests 36✅ 46s
ProtoPromiseTests.Concurrency.AsyncLazyConcurrencyTests 3✅ 615ms
ProtoPromiseTests.Concurrency.AwaitConcurrencyTests 22✅ 2s
ProtoPromiseTests.Concurrency.CancelationConcurrencyTests 43✅ 5s
ProtoPromiseTests.Concurrency.DeferredConcurrencyTests 12✅ 914ms
ProtoPromiseTests.Concurrency.DeferredThreadTests 10✅ 702ms
ProtoPromiseTests.Concurrency.FirstConcurrencyTests 256✅ 35s
ProtoPromiseTests.Concurrency.MergeConcurrencyTests 416✅ 506s
ProtoPromiseTests.Concurrency.PromiseConcurrencyTests 50✅ 10s
ProtoPromiseTests.Concurrency.PromiseNonPreservedConcurrencyTests 156✅ 15s
ProtoPromiseTests.Concurrency.RaceConcurrencyTests 256✅ 38s
ProtoPromiseTests.Concurrency.Threading.AsyncAutoResetEventConcurrencyTests 8✅ 3s
ProtoPromiseTests.Concurrency.Threading.AsyncCountdownEventConcurrencyTests 16✅ 7s
ProtoPromiseTests.Concurrency.Threading.AsyncLockConcurrencyTests 12✅ 128s
ProtoPromiseTests.Concurrency.Threading.AsyncManualResetEventConcurrencyTests 8✅ 2s
ProtoPromiseTests.Concurrency.Threading.AsyncReaderWriterLockConcurrencyTests 654✅ 225s
ProtoPromiseTests.Concurrency.Threading.AsyncSemaphoreConcurrencyTests 12✅ 58s
ProtoPromiseTests.Concurrency.WaitAsyncConcurrencyTests 192✅ 14s