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

MessageTemplates - Optimize ParseHole for positional templates #2639

Merged

Conversation

snakefoot
Copy link
Contributor

@snakefoot snakefoot commented Apr 2, 2018

Optimize the Hole-Peek, so it it is less expensive than the entire string.Format()

@snakefoot
Copy link
Contributor Author

Before:
capture
After:
capture3

@snakefoot snakefoot force-pushed the MessageTemplateParseHoleOptimize branch from 506dbf2 to 462240b Compare April 2, 2018 06:05
@codecov
Copy link

codecov bot commented Apr 2, 2018

Codecov Report

Merging #2639 into master will decrease coverage by <1%.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master   #2639    +/-   ##
=======================================
- Coverage      81%     81%   -<1%     
=======================================
  Files         326     326            
  Lines       24032   24043    +11     
  Branches     3035    3037     +2     
=======================================
  Hits        19463   19463            
- Misses       3744    3759    +15     
+ Partials      825     821     -4

@304NotModified
Copy link
Member

👍

@304NotModified 304NotModified added this to the 4.5.1 milestone Apr 2, 2018
@304NotModified 304NotModified merged commit 81e45ad into NLog:master Apr 2, 2018
@snakefoot snakefoot deleted the MessageTemplateParseHoleOptimize branch April 4, 2020 13:10
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