https://issues.apache.org/bugzilla/show_bug.cgi?id=48778

           Summary: LogMF performs slower than SLF4J in benchmark
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Layout
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Initially reported in http://marc.info/?l=log4j-dev&m=122893058812874&w=2

This reason for the disparity has not been determined.  I would suspect that
passing an int as the parameter might trigger some more expensive localized
formatting than the equivalent SLF4J call.  It would be interesting to retry
the benchmark using a String instead of an int to see if the effect is
dependent on the type of the parameter.  Any profiling would also be helpful to
determine the source of the performance difference.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to