Skip to content

Update log4net from 3.3.2 to 3.4.0 - #3

Open
FreeAndNil wants to merge 1 commit into
DevTeam:masterfrom
FreeAndNil:feature/logging-log4net-3.4.0
Open

Update log4net from 3.3.2 to 3.4.0#3
FreeAndNil wants to merge 1 commit into
DevTeam:masterfrom
FreeAndNil:feature/logging-log4net-3.4.0

Conversation

@FreeAndNil

Copy link
Copy Markdown
Contributor

All nine Logging scenarios still validate as Supported. Measured on an i5-9500 with two runs per arm. Only allocations are quoted: timing on that machine drifted up to 19% between identical builds, which is wider than any effect the upgrade has.
SimpleMessage, StructuredProperties, ExceptionLogging, TemplateRendering and BufferedLogging each allocate 8 bytes less per operation. ScopeOrContext allocates 48 bytes more, 848 to 896, and is the one regression. Both 3.4.0 runs agree, and the 848 baseline is confirmed by the committed GitHub runner report as well as locally. The suspect is the LogicalThreadContextProperties setter rewrite in 3.4.0, but a standalone repro outside the matrix has not been found, so the cause is still open upstream.

All nine Logging scenarios still validate as Supported.
Measured on an i5-9500 with two runs per arm. Only allocations are quoted:
timing on that machine drifted up to 19% between identical builds, which is
wider than any effect the upgrade has.
SimpleMessage, StructuredProperties, ExceptionLogging, TemplateRendering and
BufferedLogging each allocate 8 bytes less per operation.
ScopeOrContext allocates 48 bytes more, 848 to 896, and is the one regression.
Both 3.4.0 runs agree, and the 848 baseline is confirmed by the committed
GitHub runner report as well as locally. The suspect is the
LogicalThreadContextProperties setter rewrite in 3.4.0, but a standalone repro
outside the matrix has not been found, so the cause is still open upstream.
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