Optimize AsyncLazy<T>
#1149
GitHub Actions / dotnet-test-results-net8.0-Debug-Pool_Disabled-devMode
succeeded
Dec 29, 2024 in 1s
25365 passed, 0 failed and 0 skipped
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
TestResults/dotnet-test-results-net8.0-Debug-Pool_Disabled-devMode-analyzer.trx | 4✅ | 3s | ||
TestResults/dotnet-test-results-net8.0-Debug-Pool_Disabled-devMode-core.trx | 25361✅ | 3675s |
✅ TestResults/dotnet-test-results-net8.0-Debug-Pool_Disabled-devMode-analyzer.trx
4 tests were completed in 3s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ProtoPromise.Analyzer.Tests.ProtoPromiseAnalyzerTests | 4✅ | 3s |
✅ TestResults/dotnet-test-results-net8.0-Debug-Pool_Disabled-devMode-core.trx
25361 tests were completed in 3675s with 25361 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ProtoPromiseTests.APIs.AllSettledTests | 22✅ | 2s | ||
ProtoPromiseTests.APIs.AllTests | 22✅ | 2s | ||
ProtoPromiseTests.APIs.APlus_2_1_PromiseStates+_2_1_1_WhenPendingAPromise | 2✅ | 206ms | ||
ProtoPromiseTests.APIs.APlus_2_1_PromiseStates+_2_1_2_WhenFulfilledAPromise | 3✅ | 481ms | ||
ProtoPromiseTests.APIs.APlus_2_1_PromiseStates+_2_1_3_WhenRejectedAPromise | 4✅ | 580ms | ||
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod | 4✅ | 532ms | ||
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod+_2_2_1_BothOnResolveAndOnRejectedAreOptionalArgument | 4✅ | 449ms | ||
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod+_2_2_3_IfOnRejectedIsAFunction | 6✅ | 664ms | ||
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod+_2_2_6_ThenMayBeCalledMultipleTimesOnTheSamePromise | 4✅ | 397ms | ||
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod+IfOnFulfilledIsAFunction_2_2_2 | 5✅ | 543ms | ||
ProtoPromiseTests.APIs.APlus_2_2_TheThenMethod+ThenMustReturnAPromise_2_2_7 | 20✅ | 2s | ||
ProtoPromiseTests.APIs.APlus_2_3_ThePromiseResolutionProcedure | 14✅ | 2s | ||
ProtoPromiseTests.APIs.APlus_2_3_ThePromiseResolutionProcedure+_2_3_2_IfXIsAPromiseAdoptItsState | 5✅ | 747ms | ||
ProtoPromiseTests.APIs.AsyncFunctionTests | 32✅ | 3s | ||
ProtoPromiseTests.APIs.AsyncLocalTests | 4✅ | 395ms | ||
ProtoPromiseTests.APIs.AwaitTests | 52✅ | 5s | ||
ProtoPromiseTests.APIs.CancelationTests+Registration | 40✅ | 8s | ||
ProtoPromiseTests.APIs.CancelationTests+Source | 45✅ | 4s | ||
ProtoPromiseTests.APIs.CancelationTests+Token | 35✅ | 3s | ||
ProtoPromiseTests.APIs.CaptureTests | 34✅ | 3s | ||
ProtoPromiseTests.APIs.Channels.BoundedChannelTests | 63✅ | 6s | ||
ProtoPromiseTests.APIs.Channels.UnboundedChannelTests | 39✅ | 5s | ||
ProtoPromiseTests.APIs.Collections.TempCollectionTests | 34✅ | 4s | ||
ProtoPromiseTests.APIs.ConfigureAwaitTests | 612✅ | 60s | ||
ProtoPromiseTests.APIs.ConfigureContinuationTests | 846✅ | 86s | ||
ProtoPromiseTests.APIs.ContinuewithTests | 18✅ | 2s | ||
ProtoPromiseTests.APIs.DelayTests | 48✅ | 8s | ||
ProtoPromiseTests.APIs.EachTests | 502✅ | 49s | ||
ProtoPromiseTests.APIs.FinallyTests | 134✅ | 14s | ||
ProtoPromiseTests.APIs.FirstTests | 100✅ | 10s | ||
ProtoPromiseTests.APIs.Linq.AggregateAsyncTests | 73✅ | 7s | ||
ProtoPromiseTests.APIs.Linq.AggregateBySeedSelectorTests | 417✅ | 42s | ||
ProtoPromiseTests.APIs.Linq.AggregateBySingleSeedTests | 241✅ | 24s | ||
ProtoPromiseTests.APIs.Linq.AllAsyncTests | 49✅ | 5s | ||
ProtoPromiseTests.APIs.Linq.AnyAsyncTests | 59✅ | 6s | ||
ProtoPromiseTests.APIs.Linq.AppendPrependTests | 114✅ | 11s | ||
ProtoPromiseTests.APIs.Linq.AsyncEnumerableTests | 127✅ | 13s | ||
ProtoPromiseTests.APIs.Linq.AverageAsyncTests | 30✅ | 3s | ||
ProtoPromiseTests.APIs.Linq.ChunkTests | 15✅ | 2s | ||
ProtoPromiseTests.APIs.Linq.ConcatTests | 49✅ | 5s | ||
ProtoPromiseTests.APIs.Linq.ContainsAsyncTests | 11✅ | 1s | ||
ProtoPromiseTests.APIs.Linq.CountAsyncTests | 36✅ | 4s | ||
ProtoPromiseTests.APIs.Linq.CountByTests | 145✅ | 15s | ||
ProtoPromiseTests.APIs.Linq.DefaultIfEmptyTests | 23✅ | 2s | ||
ProtoPromiseTests.APIs.Linq.DistinctTests | 148✅ | 15s | ||
ProtoPromiseTests.APIs.Linq.ElementAtTests | 43✅ | 4s | ||
ProtoPromiseTests.APIs.Linq.ExceptTests | 225✅ | 23s | ||
ProtoPromiseTests.APIs.Linq.FirstOrDefaultTests | 155✅ | 16s | ||
ProtoPromiseTests.APIs.Linq.FirstTests | 78✅ | 8s | ||
ProtoPromiseTests.APIs.Linq.ForEachAsyncTests | 49✅ | 5s | ||
ProtoPromiseTests.APIs.Linq.GroupByTests | 329✅ | 34s | ||
ProtoPromiseTests.APIs.Linq.GroupJoinTests | 369✅ | 38s | ||
ProtoPromiseTests.APIs.Linq.IndexTests | 4✅ | 426ms | ||
ProtoPromiseTests.APIs.Linq.IntersectTests | 225✅ | 23s | ||
ProtoPromiseTests.APIs.Linq.JoinTests | 449✅ | 46s | ||
ProtoPromiseTests.APIs.Linq.LastOrDefaultTests | 155✅ | 16s | ||
ProtoPromiseTests.APIs.Linq.LastTests | 78✅ | 8s | ||
ProtoPromiseTests.APIs.Linq.LongCountAsyncTests | 36✅ | 4s | ||
ProtoPromiseTests.APIs.Linq.MaxAsyncTests | 23✅ | 2s | ||
ProtoPromiseTests.APIs.Linq.MaxByAsyncTests | 121✅ | 13s | ||
ProtoPromiseTests.APIs.Linq.MergeTests | 33✅ | 4s | ||
ProtoPromiseTests.APIs.Linq.MinAsyncTests | 23✅ | 2s | ||
ProtoPromiseTests.APIs.Linq.MinByAsyncTests | 121✅ | 13s | ||
ProtoPromiseTests.APIs.Linq.OrderByTests | 773✅ | 81s | ||
ProtoPromiseTests.APIs.Linq.ReverseTests | 11✅ | 1s | ||
ProtoPromiseTests.APIs.Linq.SelectManyNoResultSelectorTests | 153✅ | 16s | ||
ProtoPromiseTests.APIs.Linq.SelectManyWithResultSelectorTests | 337✅ | 35s | ||
ProtoPromiseTests.APIs.Linq.SelectTests | 73✅ | 8s | ||
ProtoPromiseTests.APIs.Linq.SequenceEqualAsyncTests | 65✅ | 7s | ||
ProtoPromiseTests.APIs.Linq.SingleOrDefaultTests | 155✅ | 16s | ||
ProtoPromiseTests.APIs.Linq.SingleTests | 78✅ | 8s | ||
ProtoPromiseTests.APIs.Linq.SkipAndTakeTests | 784✅ | 80s | ||
ProtoPromiseTests.APIs.Linq.SkipWhileTests | 146✅ | 15s | ||
ProtoPromiseTests.APIs.Linq.SumAsyncTests | 30✅ | 3s | ||
ProtoPromiseTests.APIs.Linq.TakeWhileTests | 146✅ | 15s | ||
ProtoPromiseTests.APIs.Linq.ToArrayAsyncTests | 6✅ | 613ms | ||
ProtoPromiseTests.APIs.Linq.ToAsyncEnumerableTests | 113✅ | 12s | ||
ProtoPromiseTests.APIs.Linq.ToDictionaryAsyncTests | 313✅ | 32s | ||
ProtoPromiseTests.APIs.Linq.ToHashSetAsyncTests | 12✅ | 1s | ||
ProtoPromiseTests.APIs.Linq.ToListAsyncTests | 6✅ | 621ms | ||
ProtoPromiseTests.APIs.Linq.ToLookupAsyncTests | 209✅ | 22s | ||
ProtoPromiseTests.APIs.Linq.UnionTests | 1268✅ | 132s | ||
ProtoPromiseTests.APIs.Linq.WhereTests | 73✅ | 8s | ||
ProtoPromiseTests.APIs.Linq.ZipTests | 17✅ | 2s | ||
ProtoPromiseTests.APIs.MergeSettledTests | 594✅ | 63s | ||
ProtoPromiseTests.APIs.MergeTests | 10✅ | 1s | ||
ProtoPromiseTests.APIs.MiscellaneousTests | 126✅ | 50s | ||
ProtoPromiseTests.APIs.NewAndRunTests | 448✅ | 48s | ||
ProtoPromiseTests.APIs.ParallelForEachAsyncTests | 31✅ | 4s | ||
ProtoPromiseTests.APIs.ParallelForTests | 42✅ | 5s | ||
ProtoPromiseTests.APIs.PromiseCancelationTests | 21✅ | 2s | ||
ProtoPromiseTests.APIs.PromiseCancelationTests+CancelationToken | 26✅ | 3s | ||
ProtoPromiseTests.APIs.PromiseCancelationTests+CancelationToken+Reject | 6✅ | 960ms | ||
ProtoPromiseTests.APIs.PromiseCancelationTests+CatchCancelationMayBeCalledMultipleTimesOnTheSamePromise | 2✅ | 213ms | ||
ProtoPromiseTests.APIs.PromiseCancelationTests+IfOnCanceledIsAFunction | 5✅ | 536ms | ||
ProtoPromiseTests.APIs.PromiseCancelationTests+ThePromiseResolutionProcedure | 6✅ | 652ms | ||
ProtoPromiseTests.APIs.PromiseCancelationTests+ThePromiseResolutionProcedure+IfXIsAPromiseAdoptItsState | 6✅ | 655ms | ||
ProtoPromiseTests.APIs.PromiseCancelationTests+WhenCanceledAPromise | 2✅ | 217ms | ||
ProtoPromiseTests.APIs.PromiseCancelationTests+WhenFulfilledAPromise | 2✅ | 216ms | ||
ProtoPromiseTests.APIs.PromiseCancelationTests+WhenPendingAPromise | 2✅ | 216ms | ||
ProtoPromiseTests.APIs.PromiseCancelationTests+WhenRejectedAPromise | 2✅ | 219ms | ||
ProtoPromiseTests.APIs.PromiseGroups.PromiseAllGroupTests | 544✅ | 58s | ||
ProtoPromiseTests.APIs.PromiseGroups.PromiseAllResultsGroupTests | 1082✅ | 116s | ||
ProtoPromiseTests.APIs.PromiseGroups.PromiseEachGroupTests | 678✅ | 74s | ||
ProtoPromiseTests.APIs.PromiseGroups.PromiseMergeGroupTests | 1276✅ | 139s | ||
ProtoPromiseTests.APIs.PromiseGroups.PromiseMergeResultsGroupTests | 1287✅ | 141s | ||
ProtoPromiseTests.APIs.PromiseGroups.PromiseRaceGroupTests | 1272✅ | 141s | ||
ProtoPromiseTests.APIs.PromiseGroups.PromiseRaceWithIndexGroupTests | 1272✅ | 141s | ||
ProtoPromiseTests.APIs.RaceTests | 76✅ | 8s | ||
ProtoPromiseTests.APIs.SequenceTests | 15✅ | 2s | ||
ProtoPromiseTests.APIs.Threading.AsyncAutoResetEventTests | 26✅ | 3s | ||
ProtoPromiseTests.APIs.Threading.AsyncConditionVariableTests | 30✅ | 4s | ||
ProtoPromiseTests.APIs.Threading.AsyncCountdownEventTests | 28✅ | 4s | ||
ProtoPromiseTests.APIs.Threading.AsyncLockTests | 21✅ | 3s | ||
ProtoPromiseTests.APIs.Threading.AsyncManualResetEventTests | 27✅ | 4s | ||
ProtoPromiseTests.APIs.Threading.AsyncMonitorTests | 39✅ | 5s | ||
ProtoPromiseTests.APIs.Threading.AsyncReaderWriterLockTests | 215✅ | 25s | ||
ProtoPromiseTests.APIs.Threading.AsyncSemaphoreTests | 29✅ | 3s | ||
ProtoPromiseTests.APIs.Timers.TimerFactoryTests | 4✅ | 6s | ||
ProtoPromiseTests.APIs.UncaughtRejectionTests | 76✅ | 11s | ||
ProtoPromiseTests.APIs.Utilities.AsyncLazyTests | 18✅ | 2s | ||
ProtoPromiseTests.APIs.Utilities.AsyncLazyWithProgressTests | 33✅ | 4s | ||
ProtoPromiseTests.APIs.Utilities.ProgressTests | 148✅ | 16s | ||
ProtoPromiseTests.APIs.WaitAsyncTests | 54✅ | 6s | ||
ProtoPromiseTests.Concurrency.AllConcurrencyTests | 144✅ | 30s | ||
ProtoPromiseTests.Concurrency.ApiWithCancelationTokenConcurrencyTests | 12✅ | 12s | ||
ProtoPromiseTests.Concurrency.AwaitConcurrencyTests | 18✅ | 2s | ||
ProtoPromiseTests.Concurrency.CancelationConcurrencyTests | 38✅ | 7s | ||
ProtoPromiseTests.Concurrency.Channels.BoundedChannelConcurrencyTests | 432✅ | 50s | ||
ProtoPromiseTests.Concurrency.Channels.UnboundedChannelConcurrencyTests | 135✅ | 16s | ||
ProtoPromiseTests.Concurrency.DeferredConcurrencyTests | 12✅ | 2s | ||
ProtoPromiseTests.Concurrency.DeferredThreadTests | 10✅ | 1s | ||
ProtoPromiseTests.Concurrency.DelayConcurrencyTests | 4✅ | 500ms | ||
ProtoPromiseTests.Concurrency.EachConcurrencyTests | 72✅ | 35s | ||
ProtoPromiseTests.Concurrency.FirstConcurrencyTests | 144✅ | 29s | ||
ProtoPromiseTests.Concurrency.Linq.AsyncEnumerableMergeConcurrencyTests | 2✅ | 248ms | ||
ProtoPromiseTests.Concurrency.MergeConcurrencyTests | 90✅ | 145s | ||
ProtoPromiseTests.Concurrency.PromiseConcurrencyTests | 62✅ | 17s | ||
ProtoPromiseTests.Concurrency.PromiseGroups.PromiseAllGroupConcurrencyTests | 144✅ | 24s | ||
ProtoPromiseTests.Concurrency.PromiseGroups.PromiseAllResultsGroupConcurrencyTests | 144✅ | 24s | ||
ProtoPromiseTests.Concurrency.PromiseGroups.PromiseEachGroupConcurrencyTests | 576✅ | 132s | ||
ProtoPromiseTests.Concurrency.PromiseGroups.PromiseMergeGroupConcurrencyTests | 216✅ | 48s | ||
ProtoPromiseTests.Concurrency.PromiseGroups.PromiseMergeResultsGroupConcurrencyTests | 216✅ | 48s | ||
ProtoPromiseTests.Concurrency.PromiseGroups.PromiseRaceGroupConcurrencyTests | 288✅ | 46s | ||
ProtoPromiseTests.Concurrency.PromiseGroups.PromiseRaceWithIndexGroupConcurrencyTests | 288✅ | 46s | ||
ProtoPromiseTests.Concurrency.PromiseNonPreservedConcurrencyTests | 158✅ | 25s | ||
ProtoPromiseTests.Concurrency.RaceConcurrencyTests | 144✅ | 31s | ||
ProtoPromiseTests.Concurrency.Threading.AsyncAutoResetEventConcurrencyTests | 8✅ | 4s | ||
ProtoPromiseTests.Concurrency.Threading.AsyncCountdownEventConcurrencyTests | 16✅ | 8s | ||
ProtoPromiseTests.Concurrency.Threading.AsyncLockConcurrencyTests | 12✅ | 128s | ||
ProtoPromiseTests.Concurrency.Threading.AsyncManualResetEventConcurrencyTests | 8✅ | 4s | ||
ProtoPromiseTests.Concurrency.Threading.AsyncReaderWriterLockConcurrencyTests | 654✅ | 380s | ||
ProtoPromiseTests.Concurrency.Threading.AsyncSemaphoreConcurrencyTests | 12✅ | 58s | ||
ProtoPromiseTests.Concurrency.Timers.TimerFactoryConcurrencyTests | 36✅ | 5s | ||
ProtoPromiseTests.Concurrency.Utilities.AsyncLazyConcurrencyTests | 3✅ | 789ms | ||
ProtoPromiseTests.Concurrency.Utilities.ProgressConcurrencyTests | 60✅ | 14s | ||
ProtoPromiseTests.Concurrency.WaitAsyncConcurrencyTests | 48✅ | 6s |
Loading