Skip to content

Add optimization for non-export mode#8

Merged
bugRanger merged 1 commit into
mainfrom
feature/optimizate-mode-without-export
Jun 30, 2026
Merged

Add optimization for non-export mode#8
bugRanger merged 1 commit into
mainfrom
feature/optimizate-mode-without-export

Conversation

@bugRanger

@bugRanger bugRanger commented Jun 30, 2026

Copy link
Copy Markdown
Owner

Added optimization for the case when export is disabled

CI:

AMD EPYC 7763 2.68GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.301
  [Host]     : .NET 9.0.17 (9.0.17, 9.0.1726.26416), X64 RyuJIT x86-64-v3
  DefaultJob : .NET 9.0.17 (9.0.17, 9.0.1726.26416), X64 RyuJIT x86-64-v3

| Method           | Iterations | ParallelLimit | IsExporter | Mean          | Error       | StdDev      | Gen0      | Gen1    | Allocated   |
|----------------- |----------- |-------------- |----------- |--------------:|------------:|------------:|----------:|--------:|------------:|
| ActivitySource   | 1000       | 4             | False      |    103.617 us |   0.7999 us |   0.7482 us |    0.1221 |       - |     2.28 KB |
| TraceActivityRef | 1000       | 4             | False      |      9.225 us |   0.1201 us |   0.1123 us |    0.1373 |       - |     2.29 KB |
| ActivitySource   | 1000       | 4             | True       |  1,607.665 us |  31.5636 us |  41.0416 us |  289.0625 |       - |  4752.34 KB |
| TraceActivityRef | 1000       | 4             | True       |    861.008 us |   3.9721 us |   3.7155 us |         - |       - |     2.31 KB |
| ActivitySource   | 10000      | 4             | False      |  1,010.924 us |  10.4208 us |   9.7477 us |         - |       - |     2.32 KB |
| TraceActivityRef | 10000      | 4             | False      |     54.775 us |   0.4204 us |   0.3511 us |    0.1221 |       - |     2.28 KB |
| ActivitySource   | 10000      | 4             | True       | 14,902.658 us | 176.9274 us | 165.4980 us | 2937.5000 | 31.2500 | 47502.53 KB |
| TraceActivityRef | 10000      | 4             | True       |  9,192.839 us | 138.0797 us | 129.1599 us |         - |       - |     2.49 KB |

@bugRanger bugRanger self-assigned this Jun 30, 2026
@bugRanger bugRanger merged commit f8cf13f into main Jun 30, 2026
1 check passed
@bugRanger bugRanger deleted the feature/optimizate-mode-without-export branch July 1, 2026 06:19
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