Skip to content

Inlineable task conversions#90

Merged
ArcadeMode merged 4 commits intomasterfrom
simpler-task-conversion
Feb 28, 2026
Merged

Inlineable task conversions#90
ArcadeMode merged 4 commits intomasterfrom
simpler-task-conversion

Conversation

@ArcadeMode
Copy link
Copy Markdown
Owner

@ArcadeMode ArcadeMode commented Feb 28, 2026

  • Fewer allocations (no TCS)
  • Can now be inlined (instead of spanning multiple lines including temp variables)
  • Helped get rid of last code implementing an approach of converting typeinfo objects to an 'interop' version

@github-actions
Copy link
Copy Markdown

Test Results

    9 files     65 suites   31s ⏱️
  676 tests   672 ✅  4 💤 0 ❌
1 876 runs  1 851 ✅ 25 💤 0 ❌

Results for commit fa976a6.

@github-actions
Copy link
Copy Markdown


BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.3 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.103
  [Host]     : .NET 10.0.3 (10.0.3, 10.0.326.7603), X64 RyuJIT x86-64-v3
  Job-MLTFGY : .NET 10.0.3 (10.0.3, 10.0.326.7603), X64 RyuJIT x86-64-v3

InvocationCount=1  IterationCount=1  LaunchCount=10  
RunStrategy=ColdStart  UnrollFactor=1  WarmupCount=0  

Method Compilation ClassCount Mean Error StdDev Min Max
Generate AOT 0 14.26 ms 0.857 ms 0.567 ms 13.78 ms 15.40 ms
Generate AOT 1 32.04 ms 1.674 ms 1.108 ms 30.14 ms 34.11 ms
Generate AOT 10 31.67 ms 1.277 ms 0.845 ms 30.63 ms 33.44 ms
Generate AOT 25 43.29 ms 1.722 ms 1.139 ms 41.33 ms 45.18 ms
Generate AOT 50 55.31 ms 1.837 ms 1.215 ms 53.66 ms 57.22 ms
Generate AOT 100 88.97 ms 1.694 ms 1.121 ms 86.85 ms 90.40 ms
Generate AOT 200 95.84 ms 10.215 ms 6.757 ms 91.20 ms 114.44 ms
Generate JIT 0 41.00 ms 1.056 ms 0.699 ms 40.31 ms 42.11 ms
Generate JIT 1 807.47 ms 9.348 ms 6.183 ms 795.21 ms 814.39 ms
Generate JIT 10 820.56 ms 9.199 ms 6.085 ms 809.20 ms 827.42 ms
Generate JIT 25 851.17 ms 9.984 ms 6.604 ms 840.08 ms 860.90 ms
Generate JIT 50 878.66 ms 9.282 ms 6.139 ms 872.49 ms 892.31 ms
Generate JIT 100 978.85 ms 5.795 ms 3.833 ms 974.03 ms 985.86 ms
Generate JIT 200 957.89 ms 7.365 ms 4.871 ms 950.20 ms 966.05 ms

@ArcadeMode ArcadeMode added this to the v1.4.0 milestone Feb 28, 2026
@ArcadeMode ArcadeMode merged commit ec8d86a into master Feb 28, 2026
13 checks passed
@ArcadeMode ArcadeMode deleted the simpler-task-conversion branch February 28, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant