[slf4j-dev] [Bug 31] Varargs for Logger methods

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Wed Jun 2 15:29:36 CEST 2010


http://bugzilla.slf4j.org/show_bug.cgi?id=31





--- Comment #85 from Lóránt Pintér <lorant.pinter at gmail.com>  2010-06-02 15:29:35 ---
Created an attachment (id=68)
 --> (http://bugzilla.slf4j.org/attachment.cgi?id=68)
Logger benchmarks

(In reply to comment #83)
> Can you provide some numbers concerning the "significant overhead"?
> I'm not in doubt about your findings, I'd just like to some values for further
> discussion.

You didn't ask me, but I have some results regarding this with Logback 0.9.15
and SLF4J 1.5.6. My finding is that there is not a lot of difference between
passing 1 argument, or 3 arguments as Object[]. At least with Java 1.6.


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


More information about the slf4j-dev mailing list