You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Tushar (JIRA)" <ji...@apache.org> on 2012/09/24 18:27:07 UTC

[jira] [Closed] (LOG4J2-90) docs - tip for -server

     [ https://issues.apache.org/jira/browse/LOG4J2-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tushar closed LOG4J2-90.
------------------------

    
> docs - tip for -server
> ----------------------
>
>                 Key: LOG4J2-90
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-90
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Documentation
>         Environment: windows
>            Reporter: Tushar
>            Priority: Minor
>             Fix For: 2.0-beta2
>
>
> Should add following to a FAQ or a page called 'improving log4j performance'
> "I discovered that adding -Dmaven.surefire.debug="-server" to the command line for SimplePerfTest yields performance similar to OS/X and Linux. The implication is that Log4j2 is benefitting greatly from the Hotspot compiler (27 nanoseconds per iteration with the default and 2 nanoseconds per iteration with -server). This probably also explains why, when I tried to to profiling with YourKit making changes to eliminate what YourKit was finding as hot spots made absolutely no difference as HotSpot was already eliminating them. However, making the changes manually might bring the performance in -client mode closer to -server."
> But talk about adding it to your server java call. Also might be mentioning - On windows server systems this happens automatically - I guess Java figured out its being called on a server class environment. but it does make a difference on a developer/ QA system 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org