Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target - Precalculate Layout should ignore sub-layouts for complex layouts #2378

Merged
merged 2 commits into from
Nov 17, 2017

Conversation

snakefoot
Copy link
Contributor

@snakefoot snakefoot commented Oct 30, 2017

Performance optimization for async-target, so it will not render and string-allocate for each individual sub-layout.

This will improve performance for complex layouts like the JsonLayout (Has a sub-layout for each json-attribute, but they don't need to be rendered individually, only the top JsonLayout).

@codecov
Copy link

codecov bot commented Oct 30, 2017

Codecov Report

Merging #2378 into master will decrease coverage by <1%.
The diff coverage is 68%.

@@           Coverage Diff           @@
##           master   #2378    +/-   ##
=======================================
- Coverage      82%     82%   -<1%     
=======================================
  Files         318     318            
  Lines       22796   22818    +22     
  Branches     2789    2793     +4     
=======================================
- Hits        18671   18647    -24     
- Misses       3419    3448    +29     
- Partials      706     723    +17

@snakefoot snakefoot force-pushed the PrecalculateTopLayoutOnly branch 2 times, most recently from 19383fb to ce04706 Compare November 2, 2017 06:31
@304NotModified 304NotModified added this to the 4.5 beta 8 milestone Nov 2, 2017
@304NotModified 304NotModified merged commit 9e0a61d into NLog:master Nov 17, 2017
@304NotModified
Copy link
Member

merged, thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants