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-net472-Debug-Pool_Disabled succeeded Sep 10, 2023 in 1s

dotnet-test-results-net472-Debug-Pool_Disabled ✅

Tests passed successfully

✅ TestResults/dotnet-test-results-net472-Debug-Pool_Disabled.trx

14000 tests were completed in 1998s with 14000 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ProtoPromiseTests.APIs.AllTests 222✅ 18s
ProtoPromiseTests.APIs.APlus_2_1_PromiseStates+_2_1_1_WhenPendingAPromise 2✅ 207ms
ProtoPromiseTests.APIs.APlus_2_1_PromiseStates+_2_1_2_WhenFulfilledAPromise 3✅ 2s
ProtoPromiseTests.APIs.APlus_2_1_PromiseStates+_2_1_3_WhenRejectedAPromise 4✅ 690ms
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod 4✅ 599ms
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod+_2_2_1_BothOnResolveAndOnRejectedAreOptionalArgument 4✅ 437ms
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod+_2_2_3_IfOnRejectedIsAFunction 6✅ 552ms
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod+_2_2_6_ThenMayBeCalledMultipleTimesOnTheSamePromise 4✅ 275ms
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod+IfOnFulfilledIsAFunction_2_2_2 5✅ 475ms
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod+ThenMustReturnAPromise_2_2_7 20✅ 2s
ProtoPromiseTests.APIs.APlus_2_3_ThePromiseResolutionProcedure 14✅ 3s
ProtoPromiseTests.APIs.APlus_2_3_ThePromiseResolutionProcedure+_2_3_2_IfXIsAPromiseAdoptItsState 5✅ 824ms
ProtoPromiseTests.APIs.AsyncFunctionTests 56✅ 5s
ProtoPromiseTests.APIs.AsyncLazyTests 19✅ 2s
ProtoPromiseTests.APIs.AsyncLocalTests 4✅ 331ms
ProtoPromiseTests.APIs.AwaitTests 52✅ 5s
ProtoPromiseTests.APIs.CancelationTests+Registration 34✅ 5s
ProtoPromiseTests.APIs.CancelationTests+Source 36✅ 3s
ProtoPromiseTests.APIs.CancelationTests+Token 33✅ 2s
ProtoPromiseTests.APIs.CaptureTests 42✅ 4s
ProtoPromiseTests.APIs.ContinuewithTests 18✅ 2s
ProtoPromiseTests.APIs.FinallyTests 14✅ 1s
ProtoPromiseTests.APIs.FirstTests 250✅ 20s
ProtoPromiseTests.APIs.MergeTests 122✅ 10s
ProtoPromiseTests.APIs.MiscellaneousTests 119✅ 47s
ProtoPromiseTests.APIs.NewAndRunTests 608✅ 48s
ProtoPromiseTests.APIs.ParallelForTests 26✅ 2s
ProtoPromiseTests.APIs.ProgressTests 682✅ 53s
ProtoPromiseTests.APIs.PromiseCancelationTests 21✅ 2s
ProtoPromiseTests.APIs.PromiseCancelationTests+CancelationToken 28✅ 3s
ProtoPromiseTests.APIs.PromiseCancelationTests+CancelationToken+Reject 6✅ 699ms
ProtoPromiseTests.APIs.PromiseCancelationTests+CatchCancelationMayBeCalledMultipleTimesOnTheSamePromise 2✅ 144ms
ProtoPromiseTests.APIs.PromiseCancelationTests+IfOnCanceledIsAFunction 5✅ 484ms
ProtoPromiseTests.APIs.PromiseCancelationTests+ThePromiseResolutionProcedure 6✅ 644ms
ProtoPromiseTests.APIs.PromiseCancelationTests+ThePromiseResolutionProcedure+IfXIsAPromiseAdoptItsState 6✅ 651ms
ProtoPromiseTests.APIs.PromiseCancelationTests+WhenCanceledAPromise 2✅ 247ms
ProtoPromiseTests.APIs.PromiseCancelationTests+WhenFulfilledAPromise 2✅ 157ms
ProtoPromiseTests.APIs.PromiseCancelationTests+WhenPendingAPromise 2✅ 146ms
ProtoPromiseTests.APIs.PromiseCancelationTests+WhenRejectedAPromise 2✅ 178ms
ProtoPromiseTests.APIs.RaceTests 238✅ 19s
ProtoPromiseTests.APIs.SequenceTests 51✅ 4s
ProtoPromiseTests.APIs.Threading.AsyncAutoResetEventTests 18✅ 2s
ProtoPromiseTests.APIs.Threading.AsyncCountdownEventTests 20✅ 2s
ProtoPromiseTests.APIs.Threading.AsyncManualResetEventTests 19✅ 2s
ProtoPromiseTests.APIs.Threading.AsyncSemaphoreTests 21✅ 2s
ProtoPromiseTests.APIs.UncaughtRejectionTests 76✅ 9s
ProtoPromiseTests.APIs.WaitAsyncTests 8880✅ 897s
ProtoPromiseTests.Concurrency.AllConcurrencyTests 160✅ 101s
ProtoPromiseTests.Concurrency.ApiWithCancelationTokenConcurrencyTests 108✅ 24s
ProtoPromiseTests.Concurrency.AsyncLazyConcurrencyTests 4✅ 2s
ProtoPromiseTests.Concurrency.AwaitConcurrencyTests 86✅ 14s
ProtoPromiseTests.Concurrency.CancelationConcurrencyTests 41✅ 5s
ProtoPromiseTests.Concurrency.DeferredConcurrencyTests 60✅ 6s
ProtoPromiseTests.Concurrency.DeferredThreadTests 34✅ 3s
ProtoPromiseTests.Concurrency.FirstConcurrencyTests 160✅ 64s
ProtoPromiseTests.Concurrency.MergeConcurrencyTests 260✅ 137s
ProtoPromiseTests.Concurrency.PromiseConcurrencyTests 722✅ 203s
ProtoPromiseTests.Concurrency.PromiseNonPreservedConcurrencyTests 156✅ 25s
ProtoPromiseTests.Concurrency.RaceConcurrencyTests 160✅ 65s
ProtoPromiseTests.Concurrency.Threading.AsyncAutoResetEventConcurrencyTests 8✅ 5s
ProtoPromiseTests.Concurrency.Threading.AsyncCountdownEventConcurrencyTests 16✅ 11s
ProtoPromiseTests.Concurrency.Threading.AsyncManualResetEventConcurrencyTests 8✅ 6s
ProtoPromiseTests.Concurrency.Threading.AsyncSemaphoreConcurrencyTests 12✅ 97s
ProtoPromiseTests.Concurrency.WaitAsyncConcurrencyTests 192✅ 20s