Skip to content

perf: defer eager allocations in the mock-creation path #1719

perf: defer eager allocations in the mock-creation path

perf: defer eager allocations in the mock-creation path #1719

Triggered via pull request June 20, 2026 15:26
Status Success
Total duration 8m 36s
Artifacts 11

ci.yml

on: pull_request
Matrix: Unit tests
Mutation tests
8m 32s
Mutation tests
Static code analysis
4m 56s
Static code analysis
Matrix: benchmarks
Publish Tests Results
18s
Publish Tests Results
Fit to window
Zoom out
Zoom in

Annotations

60 warnings
Unit tests (macos-latest)
/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(112,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (macos-latest)
/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(95,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (macos-latest)
/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(80,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (macos-latest)
/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(99,8): warning CS8600: Converting null literal or possible null value to non-nullable type. [/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (macos-latest)
/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(98,79): warning CS8600: Converting null literal or possible null value to non-nullable type. [/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (macos-latest)
/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(78,89): warning CS8600: Converting null literal or possible null value to non-nullable type. [/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (macos-latest)
/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(64,8): warning CS8600: Converting null literal or possible null value to non-nullable type. [/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (macos-latest)
/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(62,8): warning CS8600: Converting null literal or possible null value to non-nullable type. [/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (macos-latest)
/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(61,79): warning CS8600: Converting null literal or possible null value to non-nullable type. [/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (macos-latest)
/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(41,70): warning CS8600: Converting null literal or possible null value to non-nullable type. [/Users/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
API tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(64,8): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
API tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(62,8): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
API tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(61,79): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
API tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(155,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
API tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(141,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
API tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(125,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
API tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(112,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
API tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(95,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
API tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(80,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
API tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(41,70): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (ubuntu-latest)
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(99,8): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (ubuntu-latest)
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(98,79): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (ubuntu-latest)
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(112,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (ubuntu-latest)
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(95,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (ubuntu-latest)
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(78,89): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (ubuntu-latest)
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(80,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (ubuntu-latest)
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(64,8): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (ubuntu-latest)
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(62,8): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (ubuntu-latest)
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(61,79): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (ubuntu-latest)
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(41,70): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Static code analysis
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(141,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Static code analysis
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(125,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Static code analysis
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(112,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Static code analysis
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(78,89): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Static code analysis
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(95,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Static code analysis
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(80,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Static code analysis
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(64,8): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Static code analysis
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(62,8): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Static code analysis
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(61,79): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Static code analysis
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(41,70): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (windows-latest)
D:\a\Mockolate\Mockolate\Tests\Build.Tests\BenchmarkTableParserTests.cs(64,8): warning CS8600: Converting null literal or possible null value to non-nullable type. [D:\a\Mockolate\Mockolate\Tests\Build.Tests\Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (windows-latest)
D:\a\Mockolate\Mockolate\Tests\Build.Tests\BenchmarkTableParserTests.cs(62,8): warning CS8600: Converting null literal or possible null value to non-nullable type. [D:\a\Mockolate\Mockolate\Tests\Build.Tests\Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (windows-latest)
D:\a\Mockolate\Mockolate\Tests\Build.Tests\BenchmarkTableParserTests.cs(61,79): warning CS8600: Converting null literal or possible null value to non-nullable type. [D:\a\Mockolate\Mockolate\Tests\Build.Tests\Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (windows-latest)
D:\a\Mockolate\Mockolate\Tests\Build.Tests\BenchmarkTableParserTests.cs(41,70): warning CS8600: Converting null literal or possible null value to non-nullable type. [D:\a\Mockolate\Mockolate\Tests\Build.Tests\Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (windows-latest)
D:\a\Mockolate\Mockolate\Tests\Build.Tests\BenchmarkReportHelpersTests.cs(155,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [D:\a\Mockolate\Mockolate\Tests\Build.Tests\Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (windows-latest)
D:\a\Mockolate\Mockolate\Tests\Build.Tests\BenchmarkReportHelpersTests.cs(141,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [D:\a\Mockolate\Mockolate\Tests\Build.Tests\Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (windows-latest)
D:\a\Mockolate\Mockolate\Tests\Build.Tests\BenchmarkReportHelpersTests.cs(125,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [D:\a\Mockolate\Mockolate\Tests\Build.Tests\Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (windows-latest)
D:\a\Mockolate\Mockolate\Tests\Build.Tests\BenchmarkReportHelpersTests.cs(112,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [D:\a\Mockolate\Mockolate\Tests\Build.Tests\Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (windows-latest)
D:\a\Mockolate\Mockolate\Tests\Build.Tests\BenchmarkReportHelpersTests.cs(95,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [D:\a\Mockolate\Mockolate\Tests\Build.Tests\Build.Tests.csproj::TargetFramework=net10.0]
Unit tests (windows-latest)
D:\a\Mockolate\Mockolate\Tests\Build.Tests\BenchmarkReportHelpersTests.cs(80,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [D:\a\Mockolate\Mockolate\Tests\Build.Tests\Build.Tests.csproj::TargetFramework=net10.0]
Mutation tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(112,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Mutation tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(95,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Mutation tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkReportHelpersTests.cs(80,19): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Mutation tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(99,8): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Mutation tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(98,79): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Mutation tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(78,89): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Mutation tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(64,8): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Mutation tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(62,8): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Mutation tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(61,79): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]
Mutation tests
/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/BenchmarkTableParserTests.cs(41,70): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/Mockolate/Mockolate/Tests/Build.Tests/Build.Tests.csproj::TargetFramework=net10.0]

Artifacts

Produced during runtime
Name Size Digest
API-tests
1.77 KB
sha256:f87246c7864c3606e4f7191d3a93ed862a4e08852de36daf6a70832c0cb39b5a
Benchmarks-CallbackBenchmarks
20.3 KB
sha256:2ed6fb6315178874006b7eb10d40979d4a4f783250c19050067e509dccc224ff
Benchmarks-CompleteEventBenchmarks
20.7 KB
sha256:7cb6180c9b0ebdf501c15cd250cbab1172e272d0460a5547225e18886ceb6a17
Benchmarks-CompleteIndexerBenchmarks
30.4 KB
sha256:0ec2a3842a51c5fe8d3bf7f143a88dcd6d118370515fcd721aab93c131bb5ea4
Benchmarks-CompleteMethodBenchmarks
35.4 KB
sha256:d84a103ae0d99b5bd9c952cdbe862fceb8c605f52de23ab638388ac91771be63
Benchmarks-CompletePropertyBenchmarks
35.1 KB
sha256:ecbe82ea04316c9634765f371b916e191cbaa6dba3784f4668bf0cacb5c80846
Benchmarks-MockCreationBenchmarks
21.5 KB
sha256:26e21a8069827eecd7f47d39ece3237b64fae8a8dbe9e1d0999bc1a0c598ed47
Linux-artifacts
1.68 MB
sha256:dc10c37de3ad1209afd96e8e722d35d00c53151327266dc452f6b0ba4b7d4ef5
MutationTests
3.91 MB
sha256:60935eaa90ec3d2c093408743e1182c8f64cd2ad4d67cdb26e55cae1bebc6157
Windows-artifacts
2.4 MB
sha256:f3cbc18c171287881609ebfb383b534f5af7f5cfa101586010b31a5c490ec4f5
macOS-artifacts
1.67 MB
sha256:dfb8fe616a57c59be075c069c73ad55e673363f2d592b4e5694526df80f52454